fix(build): add full build target for local and containers
This commit is contained in:
parent
9fbf7cc0c7
commit
79b4c9a9db
11
run.mk
11
run.mk
|
@ -36,4 +36,13 @@ local-alpine:
|
|||
docker run --rm -v "$(shell pwd):/salty-dog" -w /salty-dog node:11-stretch make ci
|
||||
|
||||
local-stretch:
|
||||
docker run --rm -v "$(shell pwd):/salty-dog" -w /salty-dog node:11-alpine sh -c "apk add build-base && make ci"
|
||||
docker run --rm -v "$(shell pwd):/salty-dog" -w /salty-dog node:11-alpine sh -c "apk add build-base git && make ci"
|
||||
|
||||
full: ## ultra thorough build (looong)
|
||||
$(MAKE) clean-target ci
|
||||
$(MAKE) clean-target local-alpine
|
||||
$(MAKE) clean-target local-stretch
|
||||
# clean up root-owned files the containers may leak
|
||||
sudo chown -R ${USER}:${USER} $(ROOT_PATH)
|
||||
$(MAKE) clean-target
|
||||
@echo "Full build (CI, alpine, stretch) succeeded!
|
Loading…
Reference in New Issue