-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathMakefile
More file actions
45 lines (32 loc) · 758 Bytes
/
Makefile
File metadata and controls
45 lines (32 loc) · 758 Bytes
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
39
40
41
42
43
44
45
#
# Makefile
#
CIBUILD ?= false
BUILD_TYPE ?= Debug
PROJECT_DIR := $(PWD)
DRY_RUN ?= true
ifeq ($(CIBUILD), true)
BUILD_TYPE = Release
DRY_RUN = false
endif
.PHONY: setup update test build format lint cibuild integrationtests publish
setup:
$(PROJECT_DIR)/scripts/setup ${BUILD_TYPE}
update:
$(PROJECT_DIR)/scripts/update
test:
$(PROJECT_DIR)/scripts/test
build:
$(PROJECT_DIR)/scripts/build ${BUILD_TYPE}
format:
$(PROJECT_DIR)/scripts/format
lint:
$(PROJECT_DIR)/scripts/lint
cibuild:
$(PROJECT_DIR)/scripts/cibuild ${BUILD_TYPE}
integrationtests:
$(PROJECT_DIR)/scripts/integrationtests ${BUILD_TYPE}
publish: setup
$(PROJECT_DIR)/scripts/publish ${BUILD_TYPE} ${DRY_RUN}
sast:
$(PROJECT_DIR)/scripts/sast ${BUILD_TYPE}