packer-cn/main.go

13 lines
201 B
Go
Raw Normal View History

2017-04-10 05:04:28 -04:00
package main
import "github.com/hashicorp/packer/packer/plugin"
2017-04-12 11:16:11 -04:00
2017-04-12 06:51:28 -04:00
func main() {
server, err := plugin.Server()
2017-04-12 06:51:28 -04:00
if err != nil {
panic(err)
}
server.RegisterBuilder(new(Builder))
server.Serve()
2017-04-12 06:51:28 -04:00
}