Browse Source

icfp 08

master
Stefan Bühler 13 years ago
parent
commit
802a330059
  1. 1
      icfp08/.gitignore
  2. 38
      icfp08/bin/package
  3. 4
      icfp08/bin/run
  4. 2
      icfp08/contact
  5. 3
      icfp08/src/README
  6. 0
      icfp08/team

1
icfp08/.gitignore

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

38
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

4
icfp08/bin/run

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

2
icfp08/contact

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

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

0
icfp08/team

Loading…
Cancel
Save