forked from aws-samples/aws-serverless-ecommerce-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
38 lines (28 loc) · 849 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
export DOMAIN ?= ecommerce
export ENVIRONMENT ?= dev
export ROOT ?= $(shell dirname ${CURDIR})
export SERVICE ?= $(shell basename ${CURDIR})
artifacts:
@${ROOT}/tools/artifacts cloudformation ${SERVICE}
build:
@${ROOT}/tools/build resources ${SERVICE}
@${ROOT}/tools/build openapi ${SERVICE}
@${ROOT}/tools/build cloudformation ${SERVICE}
.PHONY: build
check-deps:
@${ROOT}/tools/check-deps cloudformation ${SERVICE}
clean:
@${ROOT}/tools/clean ${SERVICE}
deploy:
@${ROOT}/tools/deploy cloudformation ${SERVICE}
lint:
@${ROOT}/tools/lint cloudformation ${SERVICE}
@${ROOT}/tools/lint openapi ${SERVICE}
package:
@${ROOT}/tools/package cloudformation ${SERVICE}
teardown:
@${ROOT}/tools/teardown cloudformation ${SERVICE}
tests-integ:
@${ROOT}/tools/tests-integ cloudformation ${SERVICE}
tests-unit:
@echo "Skipping unit tests"