forked from hyperledger/fabric-private-chaincode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.mk
33 lines (25 loc) · 733 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
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
include $(TOP)/config.mk
# optionally 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_CMD) $(DOCKERFLAGS)
ifeq (${SGX_MODE}, HW)
GOTAGS = -tags sgx_hw_mode
endif
GO := $(GO_CMD) $(GOFLAGS)
GOTESTFLAGS := -v -race -covermode=atomic -coverprofile=coverage.out
.PHONY: all
all: build test checks # keep checks last as license test is brittle ...
.PHONY: build
.PHONY: test
.PHONY: checks
.PHONY: clean
.PHONY: clobber
clobber: clean
.PHONY: docker
.PHONY: docker-run
.PHONY: docker-stop
.PHONY: docker-clean