Fix compilation script for the new matchable egg - pee - Pee a password manager… | |
git clone git://vernunftzentrum.de/pee.git | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit e04ed05a2fc0185d12e3d5aa6347f188e8e6c17e | |
parent 93c8cb0088f2794cff7a1d73c92cc1f4ca0ed45d | |
Author: Christian Kellermann <[email protected]> | |
Date: Tue, 19 Apr 2016 16:03:21 +0200 | |
Fix compilation script for the new matchable egg | |
The new matchable egg includes a file so we have to change dirs | |
accordingly, then move the object file to top level. | |
Diffstat: | |
static-compilation.sh | 8 +++++--- | |
1 file changed, 5 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/static-compilation.sh b/static-compilation.sh | |
@@ -1,4 +1,5 @@ | |
#!/bin/sh | |
+set -e | |
chicken-install -r blob-utils >/dev/null || echo Fetching blob-utils has faile… | |
chicken-install -r check-errors >/dev/null || echo Fetching check-errors has f… | |
@@ -9,18 +10,19 @@ chicken-install -r string-utils >/dev/null || echo Fetching … | |
chicken-install -r stty >/dev/null || echo Fetching stty has failed. | |
chicken-install -r tweetnacl >/dev/null || echo Fetching tweetnacl has failed. | |
-csc -emit-import-library matchable -c matchable/matchable.scm -o matchable.o | |
+cd matchable | |
+csc -unit matchable -emit-import-library matchable -c matchable.scm -o matchab… | |
+mv matchable.o ..; cd .. | |
csc -unit blob-hexadecimal -uses type-checks -uses to-hex -emit-import-library… | |
csc -unit crypto-helper -uses blob-hexadecimal -emit-import-library crypto-hel… | |
csc -unit foreigners -uses matchable -emit-import-library foreigners -c foreig… | |
csc -unit getopt-long -uses srfi-13 -uses srfi-14 -uses data-structures -uses … | |
-csc -unit matchable -emit-import-library matchable -c matchable/matchable.scm … | |
csc -unit to-hex -emit-import-library to-hex -c string-utils/to-hex.scm -o to-… | |
csc -unit tweetnacl -emit-import-library tweetnacl -c tweetnacl/tweetnacl.scm … | |
csc -unit type-checks -uses type-errors -J -c ./check-errors/type-checks.scm -… | |
csc -unit type-errors -J -c ./check-errors/type-errors.scm -o type-errors.o | |
csc -uses matchable -uses foreigners -c stty/stty.scm -emit-import-library stt… | |
-csc -uses srfi-1,srfi-4,srfi-14,utils,stty,crypto-helper,tweetnacl,getopt-long… | |
+csc -uses srfi-1,srfi-4,srfi-13,srfi-14,utils,stty,crypto-helper,tweetnacl,get… | |
csc -static *o ./tweetnacl/tweetnacl.impl.o -o pee | |
strip ./pee |