Fork me on GitHub
#juxt
<
2017-09-25
>
jonpither07:09:40

Hi @crimeminister could you define sub-Machfile support? There is the concept of extensions as shown here: https://github.com/juxt/mach/blob/master/examples/extensions/Machfile.edn (all the targets in the ext1.mach.edn file are made available in the host Machfile.edn

crimeminister13:09:59

Hi Jon, was thinking along these lines ^

crimeminister13:09:05

i.e. invoking a Machfile in a sub-directory that is responsible for building a component of a larger system

crimeminister13:09:04

I work in a mono-repo at work and if we don't factor our build scripts in some way insanity ensues

crimeminister13:09:12

Off to read about extensions; at first blush it seems they might do the trick

crimeminister13:09:56

Am guessing I could just mach/import a Machfile from elsewhere in my repo…

jonpither15:09:36

yeah import recursively scans the current dir and parents for a matching file

jonpither15:09:48

but I will check out the Recursion link you sent