dependencies and makefile
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
#lang rash
|
||||
|
||||
(require racket-makefile/rash)
|
||||
(require rash-makefile)
|
||||
|
||||
(makefile rash-coreutils
|
||||
(makefile 'rash-coreutils
|
||||
|
||||
(target all
|
||||
(target 'all
|
||||
(displayln "Use make clean, make zip, etc."))
|
||||
|
||||
(target clean
|
||||
(target 'clean
|
||||
(for-each (λ (f) (displayln f) (rm-f f))
|
||||
(list-files "." #px"([.]bak|~)$" #:recursive #t))
|
||||
(for-each (λ (d) (displayln d) (rm-rf d))
|
||||
@@ -17,8 +17,8 @@
|
||||
(for-each (λ (f) (displayln f) (rm-f f))
|
||||
(list-files "scrbl" #px"[.](css|js|html)$")))
|
||||
|
||||
(target zip
|
||||
(deps clean)
|
||||
(target 'zip
|
||||
(deps 'clean)
|
||||
(zip-package))
|
||||
|
||||
)
|
||||
Reference in New Issue
Block a user