supplrt version on command line to Unix installer test
This commit is contained in:
parent
8047476af3
commit
15b0ba3637
|
@ -5,10 +5,19 @@
|
||||||
racket/date
|
racket/date
|
||||||
file/zip
|
file/zip
|
||||||
pkg/lib
|
pkg/lib
|
||||||
web-server/servlet-env)
|
web-server/servlet-env
|
||||||
|
racket/cmdline
|
||||||
|
racket/format)
|
||||||
|
|
||||||
(module test racket/base)
|
(module test racket/base)
|
||||||
|
|
||||||
|
(define installer-vers (version))
|
||||||
|
|
||||||
|
(command-line
|
||||||
|
#:once-each
|
||||||
|
[("--version") vers "Version to download and install"
|
||||||
|
(set! installer-vers vers)])
|
||||||
|
|
||||||
;; ----------------------------------------
|
;; ----------------------------------------
|
||||||
;; Configuration (adjust as needed)
|
;; Configuration (adjust as needed)
|
||||||
|
|
||||||
|
@ -22,13 +31,13 @@
|
||||||
(define catalog (~a snapshot-site "catalog/"))
|
(define catalog (~a snapshot-site "catalog/"))
|
||||||
|
|
||||||
(define min-racket-installers
|
(define min-racket-installers
|
||||||
(list "racket-minimal-6.1.0.900-x86_64-linux-ubuntu-precise.sh"))
|
(list (~a "racket-minimal-" installer-vers "-x86_64-linux-ubuntu-precise.sh")))
|
||||||
|
|
||||||
(define racket-installers
|
(define racket-installers
|
||||||
(list "racket-6.1.0.900-x86_64-linux-ubuntu-precise.sh"))
|
(list (~a "racket-" installer-vers "-x86_64-linux-ubuntu-precise.sh")))
|
||||||
|
|
||||||
(define min-racket-natipkg-installers
|
(define min-racket-natipkg-installers
|
||||||
(list "racket-minimal-6.1.0.900-x86_64-linux-natipkg-debian-squeeze.sh"))
|
(list (~a "racket-minimal-" installer-vers "-x86_64-linux-natipkg-debian-squeeze.sh")))
|
||||||
|
|
||||||
;; For serving packages to VM:
|
;; For serving packages to VM:
|
||||||
(define server-port 50001)
|
(define server-port 50001)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user