Skip to content

smelc/zzbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3b2fc10 · May 7, 2020
Apr 7, 2020
Feb 13, 2020
Feb 7, 2020
Apr 21, 2020
Feb 26, 2020
Mar 5, 2020
Apr 21, 2020
Apr 21, 2020
Apr 7, 2020
Mar 4, 2020
Apr 7, 2020
Apr 7, 2020
Jan 22, 2020
Oct 31, 2019
May 7, 2020
Oct 31, 2019
Apr 21, 2020
Mar 4, 2020
Oct 31, 2019
Mar 6, 2020

Repository files navigation

Build Status

zzbot

zzbot is a tool to execute shell commands in a flexible manner and keep track of the history of past executions. Here's an example output:

zzbot example output

when zzbot executes this configuration: kcg.xml

Documentation: index.md

Installation

git clone https://github.com/smelc/zzbot
cd zzbot
curl -sSL https://get.haskellstack.org/ | sh
stack build
stack install zzbot --local-bin-path INSTALL_PATH # INSTALL_PATH can for example be /usr/local/bin

Development

Useful commands:

  • stack build builds the zzbot executable
  • stack run zzbot configs/config.xml executes the builders listed in configs/config.xml

Test and documentation commmands:

  • stack test executes tests in test/TestConfig.hs
  • stack exec haddock -- --html $(find src -name \*.hs) -o html generates the documentation of sources in src/

There's a commit pre-hook to execute CI before pushing, install it as follows:

cd .git/hooks
ln -s ../../hooks/pre-commit .
cd -

Bazel

zzbot can be built using Tweag's rules_haskell extension of Bazel: bazel build //...

About

flexible shell commands executor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published