mprocs - Run multiple commands in parallel (#3108)

* feat: added mprocs from crates.io

* fix: attempt to get mprocs to build on linux

* fix: add gcc specific dependencies to linux only

* chore: added documentation about the linux specific dependencies
This commit is contained in:
Brennon Loveless 2023-08-26 01:08:34 -07:00 committed by GitHub
parent 56f15da341
commit 6492e41335
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,25 @@
distributable:
url: https://github.com/pvolok/mprocs/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
provides:
- bin/mprocs
versions:
github: pvolok/mprocs/tags
build:
dependencies:
rust-lang.org: '>=1.56'
rust-lang.org/cargo: '*'
# The following dependencies are used on linux for building luajit-src https://github.com/khvzak/mlua/issues/267#issuecomment-1638636192
linux:
gnu.org/gcc: '*'
gnu.org/binutils: '*'
gnu.org/make: '*'
script:
cargo install --locked --path ./src --root {{prefix}}
test:
script: |
mprocs --version