2013-12-08 17:37:36 -05:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2013-12-12 18:10:35 -05:00
|
|
|
"github.com/mitchellh/packer/builder/googlecompute"
|
2013-12-08 17:37:36 -05:00
|
|
|
"github.com/mitchellh/packer/packer/plugin"
|
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
2013-12-12 18:10:35 -05:00
|
|
|
server, err := plugin.Server()
|
|
|
|
if err != nil {
|
|
|
|
panic(err)
|
|
|
|
}
|
|
|
|
server.RegisterBuilder(new(googlecompute.Builder))
|
|
|
|
server.Serve()
|
2013-12-08 17:37:36 -05:00
|
|
|
}
|