Created
November 13, 2018 15:46
-
-
Save FaustXVI/c8e66a2b22c7ecafddc3b525ae233ace to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
function test() { | |
runhaskell FiboSpecs.hs | |
} | |
function commit() { | |
git add . | |
git commit --squash=lastRed | |
} | |
function revert() { | |
git reset --hard | |
git clean -f | |
} | |
test && commit || revert |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment