racket/collects/htdch/draw/installer.ss
Eli Barzilay 7d50e61c7f * Newlines at EOFs
* Another big chunk of v4-require-isms
* Allow `#lang framework/keybinding-lang' for keybinding files
* Move hierlist sources into "mrlib/hierlist", leave stub behind

svn: r10689
2008-07-09 07:18:06 +00:00

24 lines
843 B
Scheme

(module installer mzscheme
(require profj/compile
(prefix colors: htdch/colors/installer)
(prefix geometry: htdch/geometry/installer))
(provide installer)
(define (mprintf . a)
(fprintf a (current-error-port)))
(define (installer plthome)
(colors:installer plthome)
(geometry:installer plthome)
(let ((draw-path (build-path (collection-path "htdch" "draw"))))
(let ((javac
(lambda (file)
(parameterize ([current-load-relative-directory draw-path]
[current-directory draw-path] )
(compile-java 'file 'file 'full
(build-path draw-path file)
#f #f)))))
(javac "Canvas.java")
(javac "SillyCanvas.java")
(javac "World.java")))))