packer-cn/plugin/builder-file/main.go

16 lines
255 B
Go
Raw Normal View History

2015-06-12 20:35:17 -04:00
package main
import (
"github.com/mitchellh/packer/builder/file"
"github.com/mitchellh/packer/packer/plugin"
)
func main() {
server, err := plugin.Server()
if err != nil {
panic(err)
}
server.RegisterBuilder(new(file.Builder))
server.Serve()
}