|
21 | 21 | # - all (default) - builds all targets and runs all tests/checks
|
22 | 22 | # - checks - runs all tests/checks
|
23 | 23 | # - peer - builds the fabric peer binary
|
| 24 | +# - orderer - builds the fabric orderer binary |
24 | 25 | # - membersrvc - builds the membersrvc binary
|
25 | 26 | # - unit-test - runs the go-test based unit tests
|
26 | 27 | # - behave - runs the behave test
|
|
29 | 30 | # - linter - runs all code checks
|
30 | 31 | # - images[-clean] - ensures all docker images are available[/cleaned]
|
31 | 32 | # - peer-image[-clean] - ensures the peer-image is available[/cleaned] (for behave, etc)
|
| 33 | +# - orderer-image[-clean] - ensures the orderer-image is available[/cleaned] (for behave, etc) |
32 | 34 | # - membersrvc-image[-clean] - ensures the membersrvc-image is available[/cleaned] (for behave, etc)
|
33 | 35 | # - protos - generate all protobuf artifacts based on .proto files
|
34 | 36 | # - clean - cleans the build area
|
@@ -70,7 +72,7 @@ PROJECT_FILES = $(shell git ls-files)
|
70 | 72 | IMAGES = src ccenv peer membersrvc javaenv orderer
|
71 | 73 |
|
72 | 74 |
|
73 |
| -all: peer membersrvc checks |
| 75 | +all: peer orderer membersrvc checks |
74 | 76 |
|
75 | 77 | checks: linter unit-test behave
|
76 | 78 |
|
@@ -142,7 +144,7 @@ build/bin/chaintool: Makefile
|
142 | 144 | # JIRA FAB-243 - Mark build/docker/bin artifacts explicitly as secondary
|
143 | 145 | # since they are never referred to directly. This prevents
|
144 | 146 | # the makefile from deleting them inadvertently.
|
145 |
| -.SECONDARY: build/docker/bin/peer build/docker/bin/membersrvc |
| 147 | +.SECONDARY: build/docker/bin/peer build/docker/bin/orderer build/docker/bin/membersrvc |
146 | 148 |
|
147 | 149 | # We (re)build a package within a docker context but persist the $GOPATH/pkg
|
148 | 150 | # directory so that subsequent builds are faster
|
@@ -241,7 +243,7 @@ build/image/%/.dummy: build/image/src/.dummy build/docker/bin/%
|
241 | 243 | protos: gotools
|
242 | 244 | ./devenv/compile_protos.sh
|
243 | 245 |
|
244 |
| -src-image-clean: ccenv-image-clean peer-image-clean membersrvc-image-clean |
| 246 | +src-image-clean: ccenv-image-clean peer-image-clean orderer-image-clean membersrvc-image-clean |
245 | 247 |
|
246 | 248 | %-image-clean:
|
247 | 249 | $(eval TARGET = ${patsubst %-image-clean,%,${@}})
|
|
0 commit comments