view code/submission.sh @ 70:5f44ac1bcbd6

Add support for a special notFirst? variable so that globals can be initialized on startup only. This allows for state that persists between turns
author Michael Pavone <pavone@retrodev.com>
date Sun, 27 Jul 2014 23:43:37 -0700
parents c68c03a0e072
children 3e5de539a676
line wrap: on
line source

#!/bin/sh

# To be run from the code subfolder.

#Compiles the lambdaman.gcc program and places it in the solution folder
mkdir -p ../solution
./lmc dotScanner.lm > ../solution/lambdaman.gcc

#Prepares a tar file for submission.
tar -cvzf ../../submission.tar.gz --exclude-vcs ../../icfp2014

#Prints the sha1 hash of the tar to standard out.
sha1sum ../../submission.tar.gz