some documentation and tests

This commit is contained in:
2026-08-20 00:29:54 +02:00
parent 821e96e2a7
commit 678adf65f0
5 changed files with 15 additions and 13 deletions
+3
View File
@@ -17,3 +17,6 @@ compiled/
*.dep
doc
scrbl/*.js
scrbl/*.html
scrbl/*.css
+7 -7
View File
@@ -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 -1
View File
@@ -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
View File
@@ -1,7 +1,6 @@
#lang scribble/manual
@(require (for-label racket
racket-makefile
rash-makefile))
@title{rash-makefile}
+4 -4
View File
@@ -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)))