Skip to content

v0.4.0

Compare
Choose a tag to compare
@xsb xsb released this 30 Jan 21:46
· 41 commits to master since this release

Release Notes

  • The root of the repository now hosts the dog Go package, which implements logic for parsing and manipulating Dogfiles and for constructing and running task chains. The new package dog/run handles the low level execution of tasks. Dog (the cli tool) has been moved into the cmd/dog subdirectory. More info on the reasons for this change can be found in this pull request.
  • GoDoc can be used to read the documentation of the new packages dog and dog/run.
  • Changes in the Dogfile Spec: exec is now runner. run is now code. Backwards compatibility support has been added.
  • Dog uses exit status 1 if the main program fails and exit status 2 if any of the task fails.
  • Support for dotenv has been removed.
  • Renamed status code to exit status. It was wrong.
  • Some examples added into the examples/ directory to show how to use dog as a library.
  • Stdout and Stderr can be configured when running a task chain. This way future dogtools can choose to write output to files or to the network instead of using the operating system's standard outputs.
  • A Bash completion script has been added to extras/dog.bashcompletion.