-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
38 lines (21 loc) · 950 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
SHELL := /bin/bash
REPO_ROOT ?= $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
BACKEND_ROOT ?= src
#include .env
include $(BACKEND_ROOT)/Makefile
help: ## Show this help
@ egrep -h '\s##\s' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[3 7;1m%-20s\033[0m %s\n", $$1, $$2}'
init:: veryclean | isolate ## Configure the development environment
isolate:: ## Guarantee environment isolation is set
execute:: build run ## Build and Run application
run:: ## Launch application locally
build:: ## Process source code into an executable program
compile:: ## Treat file generation
test:: ## Verify application's behavior requirements completeness
clean:: ## Delete all files created through Build process
veryclean:: clean ## Delete all generated files
deploy:: build ## Deploy application
gcloud app deploy
gcloud app browse
.ONESHELL:
.PHONY: help init isolate execute run build compile test clean veryclean deploy