From d42291ef9d1b840d23956b26a8b2232a241b2b77 Mon Sep 17 00:00:00 2001 From: Andrew Scheller Date: Mon, 12 Dec 2016 19:34:47 +0000 Subject: [PATCH] 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. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 29dba4f0..0a14f8f6 100644 --- a/Makefile +++ b/Makefile @@ -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