X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=docs%2Fgoals.pod;h=cf67a455b3da388353ce49f35b1abae7b9d60e9f;hb=9607fb2d34d679e14040f9132625a53f1de5200a;hp=eca8876bd2077593404c63f8d0a1da8dcfb403c1;hpb=00dfdab0481c531b8608a157dc4c4991f319d7f7;p=goals.git diff --git a/docs/goals.pod b/docs/goals.pod index eca8876..cf67a45 100644 --- a/docs/goals.pod +++ b/docs/goals.pod @@ -2,13 +2,14 @@ =head1 NAME -goals - an experimental tool that generalizes "make" +goals - an experimental tool that generalizes “make” =head1 SUMMARY goals ['TARGET'] ['VAR=VALUE'] [-C|--directory DIRECTORY] [-d] [-f|--file Goalfile] - [-I|--include DIRECTORY] [--no-prelude] + [-I|--include DIRECTORY] [-j|--jobs JOBS] [--no-prelude] + [-s|--silent|--quiet] goals --help @@ -16,7 +17,17 @@ goals - an experimental tool that generalizes "make" =head1 DESCRIPTION +Goals is a command line tool similar in concept to L — a way +to express dependencies between tasks that need to be done. Goals +generalizes make so it can express dependencies between not just files +but anything such as URLs, remote files, remote builds and more. It +is also very extensible using only shell scripting, and it fixes many +problems that make suffers from. +This manual page documents the command line tool and options. + +There is an introduction to and tutorial on writing goal files, as +well as a reference manual in L. =head1 OPTIONS @@ -57,13 +68,21 @@ if I<-C> was not used. Specify an include directory, used when including goal files using the C directive. You can use this option multiple times. Later directories have priority over earlier ones. There is also an -implicit C<%stdlib> directory which is used for prelude files (see -L). +implicit C<%stdlib> directory which is used for prelude files. Note that if a relative path is given here, it is relative to the directory specified with the I<-C> option, or to the current directory if I<-C> was not used. +=item B<-j> JOBS + +=item B<--jobs> JOBS + +Set the maximum number of commands that can run at the same time. +Unlike make, goals defaults to running in parallel, setting the +default to the number of cores on the machine. To disable parallel +jobs, you must use S>. + =item B<--no-prelude> Do not load F from C<%stdlib>. The default is that the @@ -71,11 +90,20 @@ prelude is always loaded automatically before any initial goal file (but you can redefine prelude definitions in your goal file if you want). +=item B<-s> + +=item B<--silent> + +=item B<--quiet> + +Don't print the shell commands that are run. This is the same as +turning all S> sections into S> sections. + =back =head1 SEE ALSO -L, L, L. +L, L. =head1 AUTHORS