Skip to content

Commit

Permalink
static clean command added
Browse files Browse the repository at this point in the history
  • Loading branch information
anxolerd committed Aug 5, 2015
1 parent 3d776df commit 8227f70
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions commands/static.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,16 @@ def gulp():
cmd=["gulp"],
alt=["./node_modules/gulp/bin/gulp.js"],
)


@StaticCommand.command
def clean():
""" Clean built static files """
with perform(
name='static clean',
before='run gulp clean',
):
alt_exec(
cmd=["gulp", "clean"],
alt=["./node_modules/gulp/bin/gulp.js", "clean"],
)

0 comments on commit 8227f70

Please sign in to comment.