Want to be able to make runjob be able to limit the number of concurrent processes to x. And for job's to be able to wait on an already running job before starting the very same job. e.g. if you have two jobs to run fmt and lint and both depend on `yarn` being ran first to fetch dependencies. Will require a dependency on `inotifywait` for linux and `fswatch` for macOS.
Activity
[-]parallel.sh: Add synchronization helpers[/-][+]job.sh: Add synchronization helpers[/+]nhooyr commentedon Dec 8, 2022
When I add this I should remember to add something that also installs CI deps like prettier/goimports/pandoc automatically but serialized.
nhooyr commentedon Dec 8, 2022
And then remember to remove from ci setup scripts.
nhooyr commentedon Dec 8, 2022
lockfile_wait
each job represents a lockfile in $TMPDIR.
Ties into #19
nhooyr commentedon Dec 8, 2022
No need for fsnotify, just poll.
nhooyr commentedon Dec 13, 2022
also automatically gets
package.jsonand go module dependencies as needed instead of having to do it in a separate step before.