smash-middleware-clean
Directory cleaner.
Usage
Add the following configuration to .smash/task.yml
:
empty:
- name: smash-middleware-clean
dirs:
- ./dist
- ./build
remove:
- name: smash-middleware-clean
remove: true
dirs:
- ./dist
- ./build
Run the tasks:
# empty directory dist and build
$ smash run empty
# remove directory dist and build
$ smash run remove