racket/collects/tests/racket/runflats.rktl
Eli Barzilay debd1f9f1e Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
(Some other minor things here and there.)
2011-06-20 04:27:14 -04:00

13 lines
547 B
Racket

(for-each (lambda (f)
(when (regexp-match "^flat-[0-9]+[.]ss$" (path->string f))
(let ([ns (current-namespace)])
(parameterize ([current-namespace (make-base-namespace)]
[exit-handler void])
(namespace-attach-module ns 'scheme)
(namespace-require 'scheme)
(eval
`(begin
(define quiet-load ,(path->string f))
(load-relative "quiet.rktl")))))))
(directory-list))