First import of rash-makefile

This commit is contained in:
2026-08-17 21:42:02 +02:00
parent ba34698037
commit 0c47f0169f
8 changed files with 226 additions and 14 deletions
+45
View File
@@ -0,0 +1,45 @@
#lang scribble/manual
@(require (for-label racket
racket-makefile
rash-makefile))
@title{rash-makefile}
@author["Hans Dijkema / hans@dijkewijk.nl"]
@defmodule[rash-makefile]
@tt{rash-makefile} provides the Rash/Linea adapter for @racketmodname[racket-makefile]. The core @tt{racket-makefile} package remains independent of Rash.
@section{Using the adapter}
@verbatim{
#lang rash
(require rash-makefile)
(makefile demo
(default-target all)
(phony status all)
(target status
(displayln "status"))
(target all
(deps status)
(displayln "all")))
}
In Rash line mode, bare target names are converted to symbols:
@verbatim{
make status
make all
}
The ordinary Racket form remains available in the same module:
@racketblock[
(make 'status)
(make 'all)
]