fix(build): clean up output directory between builds
This commit is contained in:
parent
c5227e29a6
commit
30ea7d6fc8
|
@ -83,7 +83,7 @@ build-node:
|
||||||
variables:
|
variables:
|
||||||
GIT_SUBMODULE_STRATEGY: recursive
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
script:
|
script:
|
||||||
- make bundle test
|
- make clean-target bundle test
|
||||||
- make run-rules
|
- make run-rules
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
7
Makefile
7
Makefile
|
@ -44,8 +44,13 @@ export RUNNER_VERSION := $(CI_RUNNER_VERSION)
|
||||||
|
|
||||||
all: build
|
all: build
|
||||||
|
|
||||||
clean: ## clean up the target directory
|
clean: ## clean up everything added by the default target
|
||||||
|
clean: clean-deps clean-target
|
||||||
|
|
||||||
|
clean-deps: ## clean up the node_modules directory
|
||||||
rm -rf node_modules
|
rm -rf node_modules
|
||||||
|
|
||||||
|
clean-target: ## clean up the target directory
|
||||||
rm -rf $(TARGET_PATH)
|
rm -rf $(TARGET_PATH)
|
||||||
|
|
||||||
configure: ## create the target directory and other files not in git
|
configure: ## create the target directory and other files not in git
|
||||||
|
|
Loading…
Reference in New Issue