chore: add distclean target to Makefile (#971)

This new target also deletes the `node_modules` and `bower_components`
directories, taking the project directory to a totally pristine state.
This commit is contained in:
Andrew Scheller 2016-12-12 19:34:47 +00:00 committed by Juan Cruz Viotti
parent e6d5d9c910
commit d42291ef9d

View File

@ -238,6 +238,7 @@ TARGETS = \
help \
info \
clean \
distclean \
electron-develop
ifeq ($(TARGET_PLATFORM),darwin)
@ -305,4 +306,8 @@ info:
clean:
rm -rf $(BUILD_DIRECTORY)
distclean: clean
rm -rf node_modules
rm -rf bower_components
.DEFAULT_GOAL = help