changeset 33:c68c03a0e072

submission script added.
author William Morgan <billjunk@mrgn.org>
date Sat, 26 Jul 2014 02:32:59 -0700
parents 934d03d42a7e
children e613d243d2bc
files code/submission.sh
diffstat 1 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/code/submission.sh	Sat Jul 26 02:32:59 2014 -0700
@@ -0,0 +1,15 @@
+#!/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
+
+