Wolf is a wrapper around Amazon Simple Workflow Service: it providers a decider that implements plans, an actor that runs commands, and a registrar that installs plans. See examples.
- Install Haskell.
- Install the Haskell package manager stack.
- Setup your global environment:
mkdir ~/.local/bin
if it doesn't exist already.- add
$HOME/.local/bin
to yourPATH
environment variable.- This is usually in
~/.bashrc
,~/.zshrc
, or similar.
- This is usually in
- Run
stack build
. It should install all dependencies, build binaries, and export those binaries to~/.local/bin
.
wolf
has a shakefile/makefile to provide convience around building and testing:
# build the project's libraries, executables, and tests
$ ./Shakefile.hs build-tests-error
# test the project
$ ./Shakefile.hs tests-error
# start an interpreter with the project's libraries, executables, and tests loaded
$ ./Shakefile.hs ghci-tests
# install the project's executables
$ ./Shakefile.hs install
# clean the project
$ ./Shakefile.hs clean
# lint the project source code
$ ./Shakefile.hs lint
# format the project source code
$ ./Shakefile.hs format
To build, install, run, and test wolf
, the following dependencies may be required: