Skip to content

Instantly share code, notes, and snippets.

@FaustXVI
Created November 13, 2018 15:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FaustXVI/337e5a638ac13feaeab8909f6a1f762e to your computer and use it in GitHub Desktop.
Save FaustXVI/337e5a638ac13feaeab8909f6a1f762e to your computer and use it in GitHub Desktop.
Red script for tcr
#!/usr/bin/env bash
function test() {
runhaskell FiboSpecs.hs
}
function commit() {
git add .
git commit
git tag -f lastRed
}
function revert() {
git reset --hard
git clean -f
}
test && revert || commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment