1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-16 15:33:38 +01:00

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: