all repos — min @ 967880b93d7faebc8e14b1883ab7d2497c9005a9

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