makefile-targets and some other meta info functions added
This commit is contained in:
+7
-7
@@ -31,18 +31,18 @@
|
||||
(build-path tmp "Makefile.rkt")
|
||||
"#lang racket"
|
||||
"(require racket-makefile \"slow.rkt\")"
|
||||
"(makefile demo"
|
||||
" (phony change old)"
|
||||
" (target old (displayln \"old\"))"
|
||||
" (target change (copy-file \"NewMakefile.rkt\" \"Makefile.rkt\" #t)))")
|
||||
"(makefile 'demo"
|
||||
" (phony 'change 'old)"
|
||||
" (target 'old (displayln \"old\"))"
|
||||
" (target 'change (copy-file \"NewMakefile.rkt\" \"Makefile.rkt\" #t)))")
|
||||
|
||||
(write-lines
|
||||
(build-path tmp "NewMakefile.rkt")
|
||||
"#lang racket"
|
||||
"(require racket-makefile \"slow.rkt\")"
|
||||
"(makefile demo"
|
||||
" (phony changed)"
|
||||
" (target changed"
|
||||
"(makefile 'demo"
|
||||
" (phony 'changed)"
|
||||
" (target 'changed"
|
||||
" (call-with-output-file \"result.txt\" #:exists 'truncate/replace"
|
||||
" (lambda (out) (display slow-value out)))))")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user