all repos — min @ 5d9b08b170d8e6593d3aa38120a6d307fc7e2b4a

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 ("(\.(htm|zip|exe)|[\/\\]min)$" match) filter :files
    files 'rm foreach
    "Done." notice!
  )  
) ::
;; Deletes min build files