~ salmonella-environment-setup (master) c4d08b0258a916ddc13c0c34635df64b3264126a
commit c4d08b0258a916ddc13c0c34635df64b3264126a
Author: Mario Domenech Goulart <mario.goulart@gmail.com>
AuthorDate: Thu Feb 24 07:48:41 2011 -0300
Commit: Mario Domenech Goulart <mario.goulart@gmail.com>
CommitDate: Thu Feb 24 07:48:41 2011 -0300
run-salmonella: bootstrap chicken using the chicken under test
Recipe suggested by Felix.
diff --git a/run-salmonella.scm b/run-salmonella.scm
index 628f4a2..e27029b 100755
--- a/run-salmonella.scm
+++ b/run-salmonella.scm
@@ -93,7 +93,10 @@
(! `(svn co ,svn-credentials ,chicken-eggs-svn-uri ,(pathname-strip-directory eggs-dir)) tmp-dir))
;; Build chicken
- (! `(,make ,(string-append "PLATFORM=" platform " PREFIX=" chicken-prefix " CHICKEN=" chicken-bootstrap) install) chicken-core-dir)
+ (! `(touch *.scm) chicken-core-dir)
+ (! `(,make ,(string-append "PLATFORM=" platform " CHICKEN=" chicken-bootstrap) boot-chicken) chicken-core-dir)
+ (! `(touch *.scm) chicken-core-dir)
+ (! `(,make ,(string-append "PLATFORM=" platform " PREFIX=" chicken-prefix " CHICKEN=./chicken-boot") spotless install) chicken-core-dir)
;; [Re]install salmonella, just in case
(! `(,(make-pathname (pathname-directory chicken-bootstrap) "chicken-install") salmonella))
Trap