Mercurial > repos > icfp2014
annotate code/submission.sh @ 33:c68c03a0e072
submission script added.
author | William Morgan <billjunk@mrgn.org> |
---|---|
date | Sat, 26 Jul 2014 02:32:59 -0700 |
parents | |
children | 3e5de539a676 |
rev | line source |
---|---|
33 | 1 #!/bin/sh |
2 | |
3 # To be run from the code subfolder. | |
4 | |
5 #Compiles the lambdaman.gcc program and places it in the solution folder | |
6 mkdir -p ../solution | |
7 ./lmc dotScanner.lm > ../solution/lambdaman.gcc | |
8 | |
9 #Prepares a tar file for submission. | |
10 tar -cvzf ../../submission.tar.gz --exclude-vcs ../../icfp2014 | |
11 | |
12 #Prints the sha1 hash of the tar to standard out. | |
13 sha1sum ../../submission.tar.gz | |
14 | |
15 |