adjust some collection-file-path
calls to work with binary packages
In a few cases, sources should be preserved in binary mode.
This commit is contained in:
parent
fc74fa36ef
commit
f02d9268ec
|
@ -13,6 +13,9 @@
|
|||
|
||||
(define copy-man-pages '("drracket.1"))
|
||||
|
||||
(define binary-keep-files '("private/launcher-mred-bootstrap.rkt"
|
||||
"private/launcher-mz-bootstrap.rkt"))
|
||||
|
||||
;; color-blind friendly palette from Paul Tol:
|
||||
;; http://www.sron.nl/~pault/
|
||||
;; using his Scheme for Marking Text colors
|
||||
|
|
|
@ -4,3 +4,7 @@
|
|||
(define mred-launcher-names (list "Slideshow"))
|
||||
(define compile-omit-paths '("initial-ones.rkt" "examples"))
|
||||
(define test-omit-paths '("tutorial-show.rkt"))
|
||||
|
||||
(define binary-keep-files '("tutorial-show.rkt"
|
||||
"initial-ones.rkt"
|
||||
"examples"))
|
||||
|
|
|
@ -1282,9 +1282,7 @@
|
|||
(define inp
|
||||
(case (object-name (current-input-port))
|
||||
[(readline-input)
|
||||
(parameterize ([(dynamic-require
|
||||
(collection-file-path "pread.rkt" "readline")
|
||||
'readline-prompt)
|
||||
(parameterize ([(dynamic-require 'readline/pread 'readline-prompt)
|
||||
qtext])
|
||||
(read-line))]
|
||||
[else (write-bytes qtext) (flush-output) (read-line)]))
|
||||
|
|
|
@ -1180,7 +1180,8 @@
|
|||
file
|
||||
(if (null? (cddr p))
|
||||
(list "mzlib")
|
||||
(cddr p))))))]
|
||||
(cddr p))
|
||||
#:check-compiled? #f))))]
|
||||
[(and (list? p)
|
||||
(eq? 'module (car p)))
|
||||
sym]
|
||||
|
|
|
@ -157,6 +157,7 @@
|
|||
(not (file-exists? p)))
|
||||
;; Try ".ss":
|
||||
(define p2 (apply collection-file-path
|
||||
#:check-compiled? #f
|
||||
(path-replace-suffix file #".ss")
|
||||
coll))
|
||||
(if (file-exists? p2)
|
||||
|
|
Loading…
Reference in New Issue
Block a user