NAME

Gruntmaster::Daemon::Format - Utility functions for handling source files

SYNOPSIS

use Gruntmaster::Daemon::Format qw/prepare_files/;
prepare_files { files => {
  prog => {
    name => 'prog.pl',
    format => 'PERL',
    content => 'print "Hello, world!"'
  },
  ver => {
    name => 'ver.cpp',
    format => 'CPP',
    content => ...
  },
}};

DESCRIPTION

Gruntmaster::Daemon::Format exports utility functions for handling source files.

prepare_files $meta

Compiles all the source files in $meta->{files}.

AUTHOR

Marius Gavrilescu <marius@ieval.ro>

COPYRIGHT AND LICENSE

Copyright (C) 2014 by Marius Gavrilescu

This library is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.