-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 |