2013-06-13 10:29:23 -04:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2013-06-15 14:06:39 -04:00
|
|
|
"github.com/mitchellh/packer/builder/digitalocean"
|
2013-06-15 14:07:30 -04:00
|
|
|
"github.com/mitchellh/packer/packer/plugin"
|
2013-06-13 10:29:23 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
2013-12-10 16:59:38 -05:00
|
|
|
server, err := plugin.Server()
|
|
|
|
if err != nil {
|
|
|
|
panic(err)
|
|
|
|
}
|
|
|
|
server.RegisterBuilder(new(digitalocean.Builder))
|
|
|
|
server.Serve()
|
2013-06-13 10:29:23 -04:00
|
|
|
}
|