icfp 08
This commit is contained in:
parent
c9bd172704
commit
802a330059
1
icfp08/.gitignore
vendored
Normal file
1
icfp08/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
submit/*
|
38
icfp08/bin/package
Executable file
38
icfp08/bin/package
Executable 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
4
icfp08/bin/run
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Insert command(s) to run your program
|
||||
|
2
icfp08/contact
Normal file
2
icfp08/contact
Normal file
@ -0,0 +1,2 @@
|
||||
Johannes Reinhardt <Johannes.Reinhardt@gmx.de>
|
||||
Stefan Bühler <icfp08@stbuehler.de>
|
3
icfp08/src/README
Normal file
3
icfp08/src/README
Normal 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
0
icfp08/team
Normal file
Loading…
Reference in New Issue
Block a user