werk 0.3.1-rc1

Dead simple task runner
  • 0.3.1-rc1 - January 13, 2021
  • 0.3.0 - January 12, 2021
  • 0.2.1 - January 11, 2021
  • 0.2.0 - December 30, 2020
  • 0.1.11 - December 15, 2020

werk

Dead simple task runner.

Build status

CI Status

Installation

You can follow the installation guide available here.

Documentation

For more information on how to get started, please check the wiki.

Features

  • Automatic determination of the execution plan
  • Parallel jobs execution
  • Shell executor
  • Docker executor
  • Real-time output support for parallel jobs
  • Simple configuration DSL based on YAML
  • Execution report
  • Web UI for browsing the execution reports (?)

Example

Create a werk.yml with the following content:

version: "1"

description: "Manage Werk with Werk"

jobs:
  main:
    description: "Build application"
    commands:
      - shards build
    needs:
      - lint
      - test

  lint:
    description: "Lint code"
    commands:
      - ameba
    can_fail: true

  test:
    description: "Test code"
    commands:
      - crystal spec

  docs:
    description: Generate API documentation
    commands:
      - crystal docs
      - open docs/index.html
    silent: true

after that, you can run

werk run

to trigger the entire build flow. You can also start individual jobs by specifying a target like this:

werk run lint

Here's another example; in this case, I'm building Werk using itself.

asciicast

Contributing

  1. Fork it (https://github.com/marghidanu/werk/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Owner
github statistic
  • 5
  • 0
  • 0
  • 0
  • 8 days ago
  • September 7, 2020
License

MIT License

Links
Synced at

Thu, 21 Jan 2021 20:28:34 GMT