mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-23 11:16:39 +00:00
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:
parent
e6d5d9c910
commit
d42291ef9d
5
Makefile
5
Makefile
@ -238,6 +238,7 @@ TARGETS = \
|
|||||||
help \
|
help \
|
||||||
info \
|
info \
|
||||||
clean \
|
clean \
|
||||||
|
distclean \
|
||||||
electron-develop
|
electron-develop
|
||||||
|
|
||||||
ifeq ($(TARGET_PLATFORM),darwin)
|
ifeq ($(TARGET_PLATFORM),darwin)
|
||||||
@ -305,4 +306,8 @@ info:
|
|||||||
clean:
|
clean:
|
||||||
rm -rf $(BUILD_DIRECTORY)
|
rm -rf $(BUILD_DIRECTORY)
|
||||||
|
|
||||||
|
distclean: clean
|
||||||
|
rm -rf node_modules
|
||||||
|
rm -rf bower_components
|
||||||
|
|
||||||
.DEFAULT_GOAL = help
|
.DEFAULT_GOAL = help
|
||||||
|
Loading…
x
Reference in New Issue
Block a user