-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (24 loc) · 1.15 KB
/
Makefile
File metadata and controls
29 lines (24 loc) · 1.15 KB
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
# Makefile — delegates all real work to ./ci.sh
# --------------------------------------------
CI_SCRIPT := ./ci.sh
# The targets your pipeline (and developers) will call
.PHONY: setup-environment build unit-test integration-test scan security-scan clean upload tag-version help
# Straight-through wrappers: “make build” → “./ci.sh build”, etc.
build unit-test integration-test scan build-release upload clean setup-environment tag-version:
$(CI_SCRIPT) $@
# Alias so `make security-scan` feels natural
security-scan:
$(CI_SCRIPT) scan
# Simple help text
help:
@echo "Available targets:"
@echo " build → $(CI_SCRIPT) build"
@echo " setup-environment → $(CI_SCRIPT) setup-environment"
@echo " build-release → $(CI_SCRIPT) build-release"
@echo " upload → $(CI_SCRIPT) upload"
@echo " unit-test → $(CI_SCRIPT) unit-test"
@echo " integration-test → $(CI_SCRIPT) integration-test"
@echo " scan → $(CI_SCRIPT) scan"
@echo " clean → $(CI_SCRIPT) clean"
@echo " tag-version → $(CI_SCRIPT) tag-version"
@echo " help → this help text"