File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ else ifeq ($(OS),Darwin)
2222else
2323 @echo Unknown OS: $(OS)
2424endif
25+ cd go && $(MAKE) copy-binary
2526
2627.PHONY : develop
2728develop : verify-dev-env venv
Original file line number Diff line number Diff line change @@ -51,14 +51,17 @@ build-all:
5151
5252# install without sudo if the install path exists and is writeable,
5353# or if it doesn't exist and its directory is writeable
54- .PHONY : install
55- install : build
54+ .PHONY : copy-binary
55+ copy-binary :
5656 if [[ (-f " $( INSTALL_PATH) " && -w " $( INSTALL_PATH) " ) || (! -f " $( INSTALL_PATH) " && -w $$ (dirname " $( INSTALL_PATH) " )) ]]; then \
5757 cp $(BINARY ) $(INSTALL_PATH ) ; \
5858 else \
5959 sudo cp $(BINARY ) $(INSTALL_PATH ) ; \
6060 fi
6161
62+ .PHONY : install
63+ install : build copy-binary
64+
6265.PHONY : clean
6366clean :
6467 rm -rf $(RELEASE_DIR )
You can’t perform that action at this time.
0 commit comments