mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
fix: ensure frontend is built in make install
(#1157)
This commit is contained in:
2
Makefile
2
Makefile
@ -43,7 +43,7 @@ fmt: fmt/prettier fmt/terraform
|
|||||||
gen: coderd/database/generate peerbroker/proto provisionersdk/proto provisionerd/proto apitypings/generate
|
gen: coderd/database/generate peerbroker/proto provisionersdk/proto provisionerd/proto apitypings/generate
|
||||||
.PHONY: gen
|
.PHONY: gen
|
||||||
|
|
||||||
install: bin
|
install: build
|
||||||
@echo "--- Copying from bin to $(INSTALL_DIR)"
|
@echo "--- Copying from bin to $(INSTALL_DIR)"
|
||||||
cp -r ./dist/coder-$(GOOS)_$(GOOS)_$(GOARCH)*/* $(INSTALL_DIR)
|
cp -r ./dist/coder-$(GOOS)_$(GOOS)_$(GOARCH)*/* $(INSTALL_DIR)
|
||||||
@echo "-- CLI available at $(shell ls $(INSTALL_DIR)/coder*)"
|
@echo "-- CLI available at $(shell ls $(INSTALL_DIR)/coder*)"
|
||||||
|
Reference in New Issue
Block a user