Removed rash integration again and backported raco call.
This commit is contained in:
+15
-12
@@ -1,15 +1,18 @@
|
||||
#lang racket-makefile
|
||||
#lang racket
|
||||
|
||||
(default-target all)
|
||||
(phony all clean)
|
||||
(require racket-makefile)
|
||||
|
||||
(target all
|
||||
(displayln "use (make clean)"))
|
||||
(makefile cleanup-example
|
||||
(default-target all)
|
||||
(phony all clean)
|
||||
|
||||
(target clean
|
||||
(display "cleaning up...")
|
||||
(apply rm-rf
|
||||
(list-dirs "." #px"compiled$" #:recursive #t))
|
||||
(apply rm-f
|
||||
(list-files "." #px"(?i:([.]bak|~)$)" #:recursive #t))
|
||||
(displayln "done."))
|
||||
(target all
|
||||
(displayln "use (make 'clean)"))
|
||||
|
||||
(target clean
|
||||
(display "cleaning up...")
|
||||
(apply rm-rf
|
||||
(list-dirs "." #px"compiled$" #:recursive #t))
|
||||
(apply rm-f
|
||||
(list-files "." #px"(?i:([.]bak|~)$)" #:recursive #t))
|
||||
(displayln "done.")))
|
||||
|
||||
Reference in New Issue
Block a user