juxt

jonpither 2017-09-25T07:54:40.000129Z

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

crimeminister 2017-09-25T13:14:59.000266Z

Hi Jon, was thinking along these lines ^

crimeminister 2017-09-25T13:16:05.000430Z

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

crimeminister 2017-09-25T13:18:04.000543Z

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

crimeminister 2017-09-25T13:19:12.000539Z

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

crimeminister 2017-09-25T13:19:14.000778Z

Thanks!

crimeminister 2017-09-25T13:20:56.000406Z

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

jonpither 2017-09-25T15:09:36.000384Z

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

jonpither 2017-09-25T15:09:48.000005Z

but I will check out the Recursion link you sent

👍 1