annotate code/submission.sh @ 72:a2a5d80abaa0
Add and as a function to gqc to work around parser limitations
author |
Michael Pavone <pavone@retrodev.com> |
date |
Mon, 28 Jul 2014 00:42:21 -0700 |
parents |
c68c03a0e072 |
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
|