/test-commit-revert

trying out TCR workflow with Elixir

Primary LanguageElixirApache License 2.0Apache-2.0

Tcr (deprecated)

Experiment in Test && Commit || Revert

DEPRECATED. Please move to:

Installation

Add to deps()

  {:tcr, "~> 0.1.1" }

then run

  1. mix deps.get
  2. mix deps.compile tcr

In one terminal window run

mix tcr.pull_push This will push commits to the trunk whenever they are ready

In another window run

MIX_ENV=test mix tcr.test_commit This will run tests and save commits if test passes, and revert if it does not.

References