This commit is contained in:
Stefan Bühler 2008-07-11 20:08:23 +02:00
parent c9bd172704
commit 802a330059
6 changed files with 48 additions and 0 deletions

1
icfp08/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
submit/*

38
icfp08/bin/package Executable file
View File

@ -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

4
icfp08/bin/run Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
# Insert command(s) to run your program

2
icfp08/contact Normal file
View File

@ -0,0 +1,2 @@
Johannes Reinhardt <Johannes.Reinhardt@gmx.de>
Stefan Bühler <icfp08@stbuehler.de>

3
icfp08/src/README Normal file
View File

@ -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.

0
icfp08/team Normal file
View File