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