all repos — min @ 86540c8ac7829e4d00302d8a05fbbf89aa35b8f3

A small but practical concatenative programming language.

tasks/clean.min

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
#!/usr/bin/env min

#| Tasks |#

(
  symbol default
  (==>)
  (
    "Cleaning up build files" notice!
    . ls ("(\/(mini|lite)?min|\.(htm|zip|exe))$" match?) filter :files
    files 'rm foreach
    "Done." notice!
  )  
) ::
;; Deletes min build files