forked from hyperledger/fabric-private-chaincode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.mk
35 lines (26 loc) · 739 Bytes
/
build.mk
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
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
include $(TOP)/config.mk
# optionlly allow local overriding defaults
-include $(TOP)/config.override.mk
# define composites only here and not in config.mk so we can override parts in config.override.mk
DOCKER := DOCKER_BUILDKIT=$(DOCKER_BUILDKIT) $(DOCKER_CMD) $(DOCKERFLAGS)
ifeq (${SGX_MODE}, HW)
GOTAGS = -tags sgx_hw_mode
endif
GO := $(GO_CMD) $(GOFLAGS)
.PHONY: all
all: build test ci_report checks # keep checks last as license test is brittle ...
.PHONY: test
test: build
.PHONY: ci_report
.PHONY: build
.PHONY: checks
.PHONY: clean
.PHONY: clobber
clobber: clean
.PHONY: docker
.PHONY: docker-run
.PHONY: docker-stop
.PHONY: docker-clean