Make in Julia.
- Parallel execution of external programs (similar to the
-j
flag of GNU Make). - Keep going unrelated jobs even when some jobs failes (similar to the
-k
flag of GNU Make).
bin/juke -f Jukefile.jl --jobs=8 --keep-going
The typical form of a Jukefile.jl
is as follows:
job(:default, ["target1"])
desc("Run `command` to make target1 and target2 from dep1, dep2 and dep3")
job(["target1", "target2"], ["dep1", "dep2", "dep3"]) do j
run(`command --targets=$(join(j.ts, ",")) --deps=$(join(j.ds, ","))`)
end