fix: make install references incorrect folders (#1105)

This commit is contained in:
Colin Adler
2022-04-22 15:41:45 -05:00
committed by GitHub
parent 548de7d6f3
commit d6c1c49868
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -35,3 +35,5 @@ site/out/
*.tfplan
*.lock.hcl
.terraform/
.vscode/*.log
+1 -1
View File
@@ -45,7 +45,7 @@ gen: coderd/database/generate peerbroker/proto provisionersdk/proto provisionerd
install: bin
@echo "--- Copying from bin to $(INSTALL_DIR)"
cp -r ./dist/coder_$(GOOS)_$(GOARCH)/* $(INSTALL_DIR)
cp -r ./dist/coder-$(GOOS)_$(GOOS)_$(GOARCH)*/* $(INSTALL_DIR)
@echo "-- CLI available at $(shell ls $(INSTALL_DIR)/coder*)"
.PHONY: install