-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Times rendered using unlib/date.ss; added .externals, build.ss and au…
…toplanet.ss.
- Loading branch information
Dave Gurnell
committed
Jun 12, 2010
1 parent
64fef96
commit a9946b7
Showing
18 changed files
with
182 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[.] | ||
scm = svn | ||
|
||
[planetdev/unlib] | ||
path = planetdev/unlib | ||
repository = http://svn.untyped.com/unlib/trunk/src | ||
scm = svn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#lang scheme | ||
|
||
(require scheme/runtime-path | ||
(planet untyped/autoplanet:1)) | ||
|
||
(define-runtime-path dev-path | ||
"planetdev") | ||
|
||
(remove-hard-links) | ||
|
||
(install-local "owner" "unlib.plt" 3 99 (build-path dev-path "unlib")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
#!/usr/bin/env mzscheme -q | ||
#lang scheme | ||
|
||
(require scheme/runtime-path | ||
scheme/system) | ||
|
||
; Configuration ---------------------------------- | ||
|
||
; string | ||
(define plt-version "4.2.1.5") | ||
|
||
; path | ||
(define-runtime-path planet-path "planet") | ||
|
||
; Tasks ------------------------------------------ | ||
|
||
(define (env) | ||
(putenv "PLTVERSION" plt-version) | ||
(putenv "PLTPLANETDIR" (path->string planet-path))) | ||
|
||
(define (autoplanet) | ||
(env) | ||
(system "mzscheme autoplanet.ss")) | ||
|
||
(define (envvars) | ||
(autoplanet) | ||
(let ([path (make-temporary-file "mzscheme-envvars-~a.sh")]) | ||
(with-output-to-file path | ||
(lambda () | ||
(printf #<<ENDSCRIPT | ||
export PLTVERSION=~a | ||
export PLTPLANETDIR="~a" | ||
|
||
ENDSCRIPT | ||
plt-version | ||
(path->string planet-path))) | ||
#:exists 'replace) | ||
(display (path->string path)))) | ||
|
||
(define (compile) | ||
(autoplanet) | ||
(system "mzc -v main.ss")) | ||
|
||
(define (test-compile) | ||
(autoplanet) | ||
(system "mzc -v run-tests.ss")) | ||
|
||
(define (test) | ||
(test-compile) | ||
(system "mzscheme run-tests.ss")) | ||
|
||
(match (vector-ref (current-command-line-arguments) 0) | ||
["envvars" (envvars)] | ||
["compile" (compile)] | ||
["test-compile" (test-compile)] | ||
["test" (test)]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.