cleaning up the make file and requirements

This commit is contained in:
Danny Yoo 2011-09-04 17:58:56 -04:00
parent 77fc448ed9
commit 5e3f844b5d
3 changed files with 7 additions and 14 deletions

View File

@ -1,45 +1,34 @@
# test-analyzer: # test-analyzer:
# raco make -v --disable-inline test-analyzer.rkt # raco make -v --disable-inline test-analyzer.rkt
# racket test-analyzer.rkt # racket test-analyzer.rkt
all: planet-link launcher all: planet-link setup launcher
launcher: launcher:
raco make -v --disable-inline whalesong.rkt
racket make-launcher.rkt racket make-launcher.rkt
whalesong:
raco make -v --disable-inline whalesong.rkt
test-all: test-all:
raco make -v --disable-inline tests/test-all.rkt
racket tests/test-all.rkt racket tests/test-all.rkt
test-browser-evaluate: test-browser-evaluate:
raco make -v --disable-inline tests/test-browser-evaluate.rkt
racket tests/test-browser-evaluate.rkt racket tests/test-browser-evaluate.rkt
test-compiler: test-compiler:
raco make -v --disable-inline tests/test-compiler.rkt
racket tests/test-compiler.rkt racket tests/test-compiler.rkt
test-parse-bytecode-on-collects: test-parse-bytecode-on-collects:
raco make -v --disable-inline tests/test-parse-bytecode-on-collects.rkt
racket tests/test-parse-bytecode-on-collects.rkt racket tests/test-parse-bytecode-on-collects.rkt
test-earley: test-earley:
raco make -v --disable-inline tests/test-earley.rkt
racket tests/test-earley.rkt racket tests/test-earley.rkt
test-conform: test-conform:
raco make -v --disable-inline tests/test-conform.rkt
racket tests/test-conform.rkt racket tests/test-conform.rkt
test-more: test-more:
raco make -v --disable-inline tests/run-more-tests.rkt
racket tests/run-more-tests.rkt racket tests/run-more-tests.rkt
doc: doc:

View File

@ -14,4 +14,5 @@
(define compile-omit-paths '("tests" (define compile-omit-paths '("tests"
"examples" "examples"
"experiments" "experiments"
"simulator")) "simulator"))
(define can-be-loaded-with 'all)

View File

@ -1,7 +1,10 @@
#lang racket/base #lang racket/base
(provide coerse-content-bytes) (provide coerse-content-bytes)
(require (planet neil/html-parsing)
;; We need at least version 1.2 of the html-parsing library, because
;; there's a nasty bug in 1.0.
(require (planet neil/html-parsing:1:2)
(planet neil/html-writing)) (planet neil/html-writing))
;; coerse-content-bytes: path bytes -> bytes ;; coerse-content-bytes: path bytes -> bytes