Add ability to clean dist/build/[assets-related folders]

This commit is contained in:
Raymond Hill 2024-02-25 18:27:07 -05:00
parent 439a059cca
commit c4d2dcd835
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -1,7 +1,7 @@
# https://stackoverflow.com/a/6273809 # https://stackoverflow.com/a/6273809
run_options := $(filter-out $@,$(MAKECMDGOALS)) run_options := $(filter-out $@,$(MAKECMDGOALS))
.PHONY: all clean test lint chromium opera firefox npm dig mv3 mv3-quick \ .PHONY: all clean cleanassets test lint chromium opera firefox npm dig mv3 mv3-quick \
compare maxcost medcost mincost modifiers record wasm compare maxcost medcost mincost modifiers record wasm
sources := $(wildcard assets/* assets/*/* dist/version src/* src/*/* src/*/*/* src/*/*/*/*) sources := $(wildcard assets/* assets/*/* dist/version src/* src/*/* src/*/*/* src/*/*/*/*)
@ -73,6 +73,8 @@ dist/build/uAssets:
clean: clean:
rm -rf dist/build tmp/node_modules rm -rf dist/build tmp/node_modules
cleanassets:
rm -rf dist/build/mv3-data dist/build/uAssets
# Not real targets, just convenient for auto-completion at shell prompt # Not real targets, just convenient for auto-completion at shell prompt
compare: compare: