fix: ensure frontend is built in `make install` (#1157)

This commit is contained in:
Colin Adler 2022-04-25 15:24:23 -05:00 committed by GitHub
parent 8f464ce8c7
commit 0c9f27c63b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ fmt: fmt/prettier fmt/terraform
gen: coderd/database/generate peerbroker/proto provisionersdk/proto provisionerd/proto apitypings/generate
.PHONY: gen
install: bin
install: build
@echo "--- Copying from bin to $(INSTALL_DIR)"
cp -r ./dist/coder-$(GOOS)_$(GOOS)_$(GOARCH)*/* $(INSTALL_DIR)
@echo "-- CLI available at $(shell ls $(INSTALL_DIR)/coder*)"