mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
Add ability to clean dist/build/[assets-related folders]
This commit is contained in:
parent
439a059cca
commit
c4d2dcd835
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue