Last active
June 2, 2017 13:58
-
-
Save amlcurran/635c9442b76b5dc8fe12af7d2df1ef44 to your computer and use it in GitHub Desktop.
Report
This file contains 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
#!/bin/bash | |
if hash lines 2>/dev/null ; then | |
if [ -f imports.txt -o -f lines.txt ]; then | |
echo "Previous import.txt and/or lines.txt exist! Delete them first." | |
exit | |
fi | |
imports > imports.txt && lines > lines.txt | |
open imports.txt lines.txt | |
else | |
echo "Don't have lines or import installed!" | |
echo "Get them from https://github.com/novoda/spikes/tree/master/code-review-tools" | |
echo "Don't forget to add them to your bash path." | |
exit | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment