all repos — min @ 9831d37fd2945ffda577ed946050960e84866cd8

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