diff --git a/icfp08/.gitignore b/icfp08/.gitignore new file mode 100644 index 0000000..573721b --- /dev/null +++ b/icfp08/.gitignore @@ -0,0 +1 @@ +submit/* diff --git a/icfp08/bin/package b/icfp08/bin/package new file mode 100755 index 0000000..b04677c --- /dev/null +++ b/icfp08/bin/package @@ -0,0 +1,38 @@ +#!/bin/bash + +rm -rf submit +mkdir submit + +git archive --format=tar --prefix=icfp08/ HEAD | gzip > submit/icfp08.tgz + +tar -C submit -xzf submit/icfp08.tgz + +status=0 + +if test '!(-s submit/icfp08/team)'; then + echo 'WARNING: You must add your team name to the team file.' + status=1 +fi + +if test '!(-s submit/icfp08/contact)'; then + echo 'WARNING: You must add names and contact details to the contact file.' + status=1 +fi + +if grep -q -F 'This file should be edited' submit/icfp08/src/README; then + echo 'WARNING: The src/README file should be edited to contain information about your code.' + status=1 +fi + +non_comments=`grep -c '^[^#]' submit/icfp08/bin/run` +if test "$non_comments" -eq 0 ; then + echo 'WARNING: There are no non-comment lines in the run script. It will not do anything!' + status=1 +fi + +non_comments=`grep -c '^[^#]' submit/icfp08/bin/install` +if test "$non_comments" -eq 0 ; then + echo 'NOTE: There are no installation actions for your script' +fi + +exit $status \ No newline at end of file diff --git a/icfp08/bin/run b/icfp08/bin/run new file mode 100755 index 0000000..03b71b9 --- /dev/null +++ b/icfp08/bin/run @@ -0,0 +1,4 @@ +#!/bin/sh + +# Insert command(s) to run your program + diff --git a/icfp08/contact b/icfp08/contact new file mode 100644 index 0000000..e94a5a4 --- /dev/null +++ b/icfp08/contact @@ -0,0 +1,2 @@ +Johannes Reinhardt +Stefan Bühler diff --git a/icfp08/src/README b/icfp08/src/README new file mode 100644 index 0000000..a4a6b9a --- /dev/null +++ b/icfp08/src/README @@ -0,0 +1,3 @@ +This file should be edited to contain information to assist the judges' understanding of your code. + +If you used a compiler not among those provided on the LiveCD, specify the language and compiler your team used in this file. diff --git a/icfp08/team b/icfp08/team new file mode 100644 index 0000000..e69de29