NAME goaljobs - make and cron replacement and business rules manager SUMMARY goaljobs [-o output] [lib.ml...] goals.ml ./goals -l ./goals all ./goals DESCRIPTION Goaljobs is a flexible build system and business rules manager similar to make and cron, but much more powerful. You can use it to automate many complex tasks that have multiple steps (even with manual steps) that have to be carried out in dependency order. GETTING STARTED For a tutorial-like introduction to goaljobs, see For examples, see the "examples/" directory in the source and For reference documentation on how to write scripts, see the goaljobs-reference(1) man page. To read about the Goaljobs API, look for the file "goaljobs.mli" (in the source code or installed as part of the goaljobs package), or see the HTML documentation installed as part of the goaljobs package. GOALJOBS WRAPPER SCRIPT "goaljobs" is a wrapper script that compiles your goals into a binary (program) which can then be run. It takes a set of input files ("*.ml") and writes a single output program. The output program has the same name as the last input file minus ".ml", but you can override this using the *-o* option. Note that the "goaljobs" script is just a simple wrapper around the OCaml compiler (ocamlopt(1)). OPTIONS --help Display short help and exit. -g Enable debugging symbols in the output binary. -I directory -I +package Pass these options directly to the OCaml compiler. You can use this to include OCaml modules from another directory. The "+package" form includes a package relative to the OCaml library directory ("ocamlc -where"). -o output Set the name of the output binary. The default is to use the name of the final source file, after removing the ".ml" extension. --package package(s) This passes *-package package(s)* to ocamlfind(1). You can use it to enable OCaml packages, eg: goaljobs --package bigarray,libvirt source.ml --pkgdir dir If goaljobs is installed in a non-standard directory, pass the name of the directory using this option. You can also use this if you want to run goaljobs without installing it (pass the goaljobs source directory). SEE ALSO goaljobs-reference(1), ocamlopt(1) AUTHORS Richard W.M. Jones COPYRIGHT (C) Copyright 2013 Red Hat Inc., This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.