1
0
Fork 0

fix(build): clean up output directory between builds

This commit is contained in:
ssube 2019-06-30 19:07:30 -05:00
parent c5227e29a6
commit 30ea7d6fc8
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
2 changed files with 7 additions and 2 deletions

View File

@ -83,7 +83,7 @@ build-node:
variables:
GIT_SUBMODULE_STRATEGY: recursive
script:
- make bundle test
- make clean-target bundle test
- make run-rules
artifacts:

View File

@ -44,8 +44,13 @@ export RUNNER_VERSION := $(CI_RUNNER_VERSION)
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
clean-target: ## clean up the target directory
rm -rf $(TARGET_PATH)
configure: ## create the target directory and other files not in git