mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-29 21:54:13 +01:00
Merge pull request #938 from yhua123/dev
improve make clean user interactions and fix one dir issue for golang…
This commit is contained in:
commit
4dd2036bdb
17
Makefile
17
Makefile
@ -104,8 +104,8 @@ GOIMAGEBUILD=$(GOIMAGEBUILDCMD) build
|
|||||||
GOBUILDPATH_UI=$(GOBUILDPATH)/src/ui
|
GOBUILDPATH_UI=$(GOBUILDPATH)/src/ui
|
||||||
GOBUILDPATH_JOBSERVICE=$(GOBUILDPATH)/src/jobservice
|
GOBUILDPATH_JOBSERVICE=$(GOBUILDPATH)/src/jobservice
|
||||||
GOBUILDMAKEPATH=$(GOBUILDPATH)/make
|
GOBUILDMAKEPATH=$(GOBUILDPATH)/make
|
||||||
GOBUILDMAKEPATH_UI=$(GOBUILDMAKEPATH)/ui
|
GOBUILDMAKEPATH_UI=$(GOBUILDMAKEPATH)/dev/ui
|
||||||
GOBUILDMAKEPATH_JOBSERVICE=$(GOBUILDMAKEPATH)/jobservice
|
GOBUILDMAKEPATH_JOBSERVICE=$(GOBUILDMAKEPATH)/dev/jobservice
|
||||||
|
|
||||||
# binary
|
# binary
|
||||||
UISOURCECODE=$(SRCPATH)/ui
|
UISOURCECODE=$(SRCPATH)/ui
|
||||||
@ -346,8 +346,17 @@ cleanpackage:
|
|||||||
@if [ -f $(BUILDPATH)/harbor-offline-installer-$(VERSIONTAG).tgz ] ; \
|
@if [ -f $(BUILDPATH)/harbor-offline-installer-$(VERSIONTAG).tgz ] ; \
|
||||||
then rm $(BUILDPATH)/harbor-offline-installer-$(VERSIONTAG).tgz ; fi
|
then rm $(BUILDPATH)/harbor-offline-installer-$(VERSIONTAG).tgz ; fi
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: cleanall
|
||||||
clean: cleanbinary cleanimage cleandockercomposefile cleanversiontag cleanpackage
|
cleanall: cleanbinary cleanimage cleandockercomposefile cleanversiontag cleanpackage
|
||||||
|
|
||||||
|
clean:
|
||||||
|
@echo " make cleanall: remove binary, Harbor images, specific version docker-compose"
|
||||||
|
@echo " file, specific version tag, online and offline install package"
|
||||||
|
@echo " make cleanbinary: remove ui and jobservice binary"
|
||||||
|
@echo " make cleanimage: remove Harbor images"
|
||||||
|
@echo " make cleandockercomposefile: remove specific version docker-compose"
|
||||||
|
@echo " make cleanversiontag: cleanpackageremove specific version tag"
|
||||||
|
@echo " make cleanpackage: remove online and offline install package"
|
||||||
|
|
||||||
all: install
|
all: install
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user