all repos — min @ 58b090f2f7796237a000b7e2492329f2c9a18f0b

A small but practical concatenative programming language.

tasks/clean.min

 1
#!/usr/bin/env min

#| Tasks |#

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