Skip to content

Commit

Permalink
fix(build): clean up output directory between builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jul 1, 2019
1 parent c5227e2 commit 30ea7d6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Expand Up @@ -83,7 +83,7 @@ build-node:
variables:
GIT_SUBMODULE_STRATEGY: recursive
script:
- make bundle test
- make clean-target bundle test
- make run-rules

artifacts:
Expand Down
7 changes: 6 additions & 1 deletion Makefile
Expand Up @@ -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
Expand Down

0 comments on commit 30ea7d6

Please sign in to comment.