all repos — min @ f175852fe1999c01ed9dfd62f521b7d20e393da8

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