mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-09 08:42:33 -04:00
Merge pull request #5082 from nak3/makefile-copy-binary
Copy binary under the bin directory
This commit is contained in:
commit
7349e4fbab
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
|
@ -51,8 +51,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