compile.sh - pee - Pee a password manager;Pee - because you have to...
(HTM) git clone git://vernunftzentrum.de/pee.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
compile.sh (423B)
---
1 #!/bin/sh
2 set -e
3
4 #to debug change this
5 DEVNULL=/dev/null
6
7 echo "Getting version info from git"
8 echo -n '(define-constant commit-id "'\
9 $(git show -q | grep ^commit| awk '{print $2 }') '")' > hash
10
11 echo -n '(define-constant program-version "' $(git tag | sort -nr | head -1) '")' > tag
12
13 echo -n "Building static pee program... "
14 chicken-install
15
16 echo "Cleaning up."
17 rm -f *.so *.o *.import.* pee.c
18
19 echo "Build done."