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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View File

@ -35,3 +35,5 @@ site/out/
*.tfplan
*.lock.hcl
.terraform/
.vscode/*.log

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