mirror of https://github.com/hashicorp/packer
parent
399d8ab028
commit
91ade277a6
@ -0,0 +1,3 @@
|
||||
package build
|
||||
|
||||
|
||||
@ -1,7 +0,0 @@
|
||||
package main
|
||||
|
||||
import "github.com/mitchellh/packer/packer/plugin"
|
||||
|
||||
func main() {
|
||||
plugin.ServeCommand(new(buildCommand))
|
||||
}
|
||||
@ -0,0 +1,13 @@
|
||||
plugin:
|
||||
go get -d -v ./...
|
||||
go build -v -o $(CURDIR)/bin/packer-build
|
||||
|
||||
format:
|
||||
go fmt ./...
|
||||
|
||||
test:
|
||||
@go list -f '{{range .TestImports}}{{.}}\
|
||||
{{end}}' ./... | xargs -n1 go get -d
|
||||
go test ./...
|
||||
|
||||
.PHONY: all format test
|
||||
Binary file not shown.
@ -0,0 +1,10 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/mitchellh/packer/command/build"
|
||||
"github.com/mitchellh/packer/packer/plugin"
|
||||
)
|
||||
|
||||
func main() {
|
||||
plugin.ServeCommand(new(build.Command))
|
||||
}
|
||||
Loading…
Reference in new issue