-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathGNUmakefile
More file actions
executable file
·21 lines (16 loc) · 878 Bytes
/
GNUmakefile
File metadata and controls
executable file
·21 lines (16 loc) · 878 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
default: help
.PHONY: run-tests-ci
run-tests-ci: ## Run tests suites on CI containerized environment
./testing/git_cached_repository/git_cached_repository.sh
.PHONY: run-tests-dockerized
run-tests-dockerized: ## Run tests suites dockerized
docker run -it \
-v $(PWD):/home/wix_build_tools \
--entrypoint /bin/sh l.gcr.io/google/bazel:3.5.0 \
-c 'cd /home/wix_build_tools; make run-tests-ci'
# To use on version 3.0.0 of Docker for mac - disable use gRPC FUSE for file sharing in Preferences -> Experimental Features.
# Debug within the container by using: (run from wix_build_tools root folder)
# - docker run -it -v $(PWD):/home/wix_build_tools --entrypoint /bin/sh l.gcr.io/google/bazel:3.5.0
.PHONY: help
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'