-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
24 lines (19 loc) · 668 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
PROJ_ROOT := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
# allows args to pass to run-cmd example: make run-cmd echo "hello world"
ifeq (run-cmd,$(firstword $(MAKECMDGOALS)))
RUN_ARGS := $(wordlist 2,$(words $(MAKECMDGOALS)),$(MAKECMDGOALS))
$(eval $(RUN_ARGS):;@:)
endif
all: deps build
@exit 0
deps:
@exit 0
build:
@exit 0
clean:
@find . -type d -name "dist" -exec rm -rf {} +
@find . -type d -name ".terraform" -exec rm -rf {} +
@find . -type d -name ".terraform.d" -exec rm -rf {} +
@find . -type d -name ".tfstate" -exec rm -rf {} +
@find . -type d -name ".tfstate.backup" -exec rm -rf {} +
@touch .devcontainer/.terraform.d/.gitkeep || true