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)
22
22
else
23
23
@echo Unknown OS: $(OS)
24
24
endif
25
+ cd go && $(MAKE) copy-binary
25
26
26
27
.PHONY : develop
27
28
develop : verify-dev-env venv
Original file line number Diff line number Diff line change @@ -51,14 +51,17 @@ build-all:
51
51
52
52
# install without sudo if the install path exists and is writeable,
53
53
# or if it doesn't exist and its directory is writeable
54
- .PHONY : install
55
- install : build
54
+ .PHONY : copy-binary
55
+ copy-binary :
56
56
if [[ (-f " $( INSTALL_PATH) " && -w " $( INSTALL_PATH) " ) || (! -f " $( INSTALL_PATH) " && -w $$ (dirname " $( INSTALL_PATH) " )) ]]; then \
57
57
cp $(BINARY ) $(INSTALL_PATH ) ; \
58
58
else \
59
59
sudo cp $(BINARY ) $(INSTALL_PATH ) ; \
60
60
fi
61
61
62
+ .PHONY : install
63
+ install : build copy-binary
64
+
62
65
.PHONY : clean
63
66
clean :
64
67
rm -rf $(RELEASE_DIR )
You can’t perform that action at this time.
0 commit comments