some documentation and tests
This commit is contained in:
@@ -17,3 +17,6 @@ compiled/
|
||||
*.dep
|
||||
|
||||
doc
|
||||
scrbl/*.js
|
||||
scrbl/*.html
|
||||
scrbl/*.css
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
(require rash-makefile)
|
||||
|
||||
(makefile demo
|
||||
(default-target status)
|
||||
(phony status clean all)
|
||||
(makefile 'demo
|
||||
(default-target 'status)
|
||||
(phony 'status 'clean 'all)
|
||||
|
||||
(target status
|
||||
(target 'status
|
||||
(displayln "status target"))
|
||||
|
||||
(target clean
|
||||
(target 'clean
|
||||
(displayln "clean target"))
|
||||
|
||||
(target all
|
||||
(deps status)
|
||||
(target 'all
|
||||
(deps 'status)
|
||||
(displayln "all target")))
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#lang info
|
||||
|
||||
(define pkg-authors '(hnmdijkema))
|
||||
(define version "0.1.0")
|
||||
(define version "0.1.1")
|
||||
(define license 'MIT)
|
||||
(define collection "rash-makefile")
|
||||
(define pkg-desc
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#lang scribble/manual
|
||||
|
||||
@(require (for-label racket
|
||||
racket-makefile
|
||||
rash-makefile))
|
||||
|
||||
@title{rash-makefile}
|
||||
|
||||
+4
-4
@@ -16,10 +16,10 @@
|
||||
(λ (out)
|
||||
(displayln "#lang rash" out)
|
||||
(displayln "(require rash-makefile)" out)
|
||||
(displayln "(makefile demo" out)
|
||||
(displayln " (default-target status)" out)
|
||||
(displayln " (phony status)" out)
|
||||
(displayln " (target status" out)
|
||||
(displayln "(makefile 'demo" out)
|
||||
(displayln " (default-target 'status)" out)
|
||||
(displayln " (phony 'status)" out)
|
||||
(displayln " (target 'status" out)
|
||||
(displayln " (call-with-output-file \"status.out\"" out)
|
||||
(displayln " #:exists 'truncate/replace" out)
|
||||
(displayln " (λ (o) (display \"status\" o)))))" out)))
|
||||
|
||||
Reference in New Issue
Block a user