neph
- A modern command line job processor written in Crystal :rocket:
- Can execute jobs concurrently. :rocket:
- Can be substitute for
make
command. :rocket:
Installation
Arch Linux
Use your favourite AUR helper.
Package name: neph-git
Mac
You can install Neph with brew
.
$ brew tap tbrand/homebrew-neph
$ brew install neph
Manual
If you have crystal
, and shards
in your environment, you can build by shards build
.
It needs libyaml
to be installed.
$ git clone https://github.com/tbrand/neph
$ cd neph
$ shards build # Now executable binary is located at bin/neph
Usage
All features for neph.yaml is written in sample/neph.yaml. So please refer for the details.
Wiki is also maintained as a document. Here is a full features.
- Execute command from neph
- Define dependencies between jobs
- Working directory
- Specify sources
- Ignoring errors
- Hide executing command
- Set a job result to env vars
- Import other configurations
- Command line options
- Log locations
- Log modes
Use cases
Neph is used in which_is_the_fastest.
The build time is reduced from 102[sec] to 33[sec].
The neph.yaml is here.
Contributing
- Fork it ( https://github.com/tbrand/neph/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request