[MIN] Improve datepicker colors
[cds-indico.git] / generate.sh
blob67192037b03f2bbd85232b4ca8baa1f0311e02fd
1 #!/bin/sh
3 # Generates Python eggs for 2.4, 2.5 and 2.6
4 # -d can be passed for 'nighly builds', so that the current date is appended
6 DATEOPT=
8 while getopts "d" Option
9 do
10 case $Option in
11 d ) DATEOPT=-d;;
12 esac
13 done
15 CLONE_DIR=`pwd`
16 mkdir /tmp/indico-build
17 pushd /tmp/indico-build
18 git clone $CLONE_DIR
19 cd cds-indico
21 for EXECUTABLE in python2.7 python2.6 python2.5; do
22 EGG_NAME=dist/`$EXECUTABLE setup.py egg_filename | tail -n 1`.egg
23 $EXECUTABLE setup.py egg_info $DATEOPT bdist_egg
24 md5sum $EGG_NAME | sh -c 'read a; echo ${a%% *}' > $EGG_NAME.md5
25 done
27 popd