From 77e2837ff0b9904e8cef26609f0fbc1ab6cb268e Mon Sep 17 00:00:00 2001 From: Matt Hernandez Date: Sun, 23 Feb 2014 12:08:44 -0500 Subject: [PATCH] Add Modulus to deployment class. Allow the Modulus deployment type to be used. --- pkg/plugin/deploy/deployment.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/plugin/deploy/deployment.go b/pkg/plugin/deploy/deployment.go index 0181586c4..8b190eb73 100644 --- a/pkg/plugin/deploy/deployment.go +++ b/pkg/plugin/deploy/deployment.go @@ -14,6 +14,7 @@ type Deploy struct { EngineYard *EngineYard `yaml:"engineyard,omitempty"` Git *Git `yaml:"git,omitempty"` Heroku *Heroku `yaml:"heroku,omitempty"` + Modulus *Modulus `yaml:"modulus,omitempty"` Nodejitsu *Nodejitsu `yaml:"nodejitsu,omitempty"` Openshift *Openshift `yaml:"openshift,omitempty"` } @@ -37,6 +38,9 @@ func (d *Deploy) Write(f *buildfile.Buildfile) { if d.Heroku != nil { d.Heroku.Write(f) } + if d.Modulus != nil { + d.Modulus.Write(f) + } if d.Nodejitsu != nil { d.Nodejitsu.Write(f) }