all repos — min @ 8bf2154657c0209e53cf153865a0874223de1ee9

A small but practical concatenative programming language.

tasks/clean.min

 1
#!/usr/bin/env min

#| Tasks |#

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