|
28 | 28 | # - gotools - installs go tools like golint
|
29 | 29 | # - linter - runs all code checks
|
30 | 30 | # - images[-clean] - ensures all docker images are available[/cleaned]
|
31 |
| -# - images-scrub - ensures all docker images are cleaned including fabric-baseimage |
32 | 31 | # - peer-image[-clean] - ensures the peer-image is available[/cleaned] (for behave, etc)
|
33 | 32 | # - membersrvc-image[-clean] - ensures the membersrvc-image is available[/cleaned] (for behave, etc)
|
34 | 33 | # - protos - generate all protobuf artifacts based on .proto files
|
35 | 34 | # - node-sdk - builds the node.js client sdk
|
36 | 35 | # - node-sdk-unit-tests - runs the node.js client sdk unit tests
|
37 | 36 | # - clean - cleans the build area
|
38 | 37 | # - dist-clean - superset of 'clean' that also removes persistent state
|
39 |
| -# - dist-scrub - superset of 'clean' that also removes fabric-baseimage |
40 | 38 |
|
41 | 39 | PROJECT_NAME = hyperledger/fabric
|
42 | 40 | BASE_VERSION = 0.6.0
|
@@ -71,8 +69,7 @@ BASEIMAGE_DEPS = $(shell git ls-files images/base scripts/provision)
|
71 | 69 |
|
72 | 70 | JAVASHIM_DEPS = $(shell git ls-files core/chaincode/shim/java)
|
73 | 71 | PROJECT_FILES = $(shell git ls-files)
|
74 |
| -SUBIMAGES = src ccenv peer membersrvc javaenv |
75 |
| -IMAGES = base $(SUBIMAGES) |
| 72 | +IMAGES = base src ccenv peer membersrvc javaenv |
76 | 73 |
|
77 | 74 | all: peer membersrvc checks
|
78 | 75 |
|
@@ -254,19 +251,14 @@ src-image-clean: ccenv-image-clean peer-image-clean membersrvc-image-clean
|
254 | 251 | -docker images -q $(PROJECT_NAME)-$(TARGET) | xargs -r docker rmi -f
|
255 | 252 | -@rm -rf build/image/$(TARGET) ||:
|
256 | 253 |
|
257 |
| -images-clean: $(patsubst %,%-image-clean, $(SUBIMAGES)) |
258 |
| - |
259 |
| -images-scrub: $(patsubst %,%-image-clean, $(IMAGES)) |
| 254 | +images-clean: $(patsubst %,%-image-clean, $(IMAGES)) |
260 | 255 |
|
261 | 256 | .PHONY: $(SUBDIRS:=-clean)
|
262 | 257 | $(SUBDIRS:=-clean):
|
263 | 258 | cd $(patsubst %-clean,%,$@) && $(MAKE) clean
|
264 | 259 |
|
265 | 260 | .PHONY: clean
|
266 | 261 | clean: images-clean $(filter-out gotools-clean, $(SUBDIRS:=-clean))
|
267 |
| - |
268 |
| -.PHONY: scrub |
269 |
| -scrub: images-scrub $(filter-out gotools-clean, $(SUBDIRS:=-clean)) |
270 | 262 | -@rm -rf build ||:
|
271 | 263 |
|
272 | 264 | .PHONY: dist-clean
|
|
0 commit comments