mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-11 01:30:06 -04:00
Copy binary under the bin directory
This commit is contained in:
parent
0b0fd408c4
commit
edabd87ea8
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
|
@ -50,8 +50,9 @@ dev: deps ## Build and install a development build
|
|||
exit 1; \
|
||||
fi
|
||||
@mkdir -p pkg/$(GOOS)_$(GOARCH)
|
||||
@mkdir -p bin
|
||||
@go install -ldflags '$(GOLDFLAGS)'
|
||||
@cp $(GOPATH)/bin/packer bin
|
||||
@cp $(GOPATH)/bin/packer bin/packer
|
||||
@cp $(GOPATH)/bin/packer pkg/$(GOOS)_$(GOARCH)
|
||||
|
||||
fmt: ## Format Go code
|
||||
|
|
|
|||
Loading…
Reference in a new issue