all repos — min @ 324b9e63cba310ae6f9ef2555ac48d16e05a9b1c

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