Skip to content

Instantly share code, notes, and snippets.

@FaustXVI
Created Nov 13, 2018
Embed
What would you like to do?
#!/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