2013-06-13 13:03:44 -04:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/mitchellh/packer/command/validate"
|
|
|
|
"github.com/mitchellh/packer/packer/plugin"
|
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
2013-12-10 16:59:38 -05:00
|
|
|
server, err := plugin.Server()
|
|
|
|
if err != nil {
|
|
|
|
panic(err)
|
|
|
|
}
|
|
|
|
server.RegisterCommand(new(validate.Command))
|
|
|
|
server.Serve()
|
2013-06-13 13:03:44 -04:00
|
|
|
}
|