mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Don't try and delete files in CI
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
7cee33730e
commit
6b2503ce3b
2
Makefile
2
Makefile
@ -84,7 +84,9 @@ $(extension_dists): src/extensions/npm/extensions/dist
|
||||
|
||||
.PHONY: clean-old-extensions
|
||||
clean-old-extensions:
|
||||
ifndef CI
|
||||
find extensions -d 1 -type d '!' -exec test -e '{}/package.json' \; -delete
|
||||
endif
|
||||
|
||||
.PHONY: build-extensions
|
||||
build-extensions: node_modules clean-old-extensions $(extension_node_modules) $(extension_dists)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user