Add Modulus to deployment class.

Allow the Modulus deployment type to be used.
This commit is contained in:
Matt Hernandez 2014-02-23 12:08:44 -05:00
parent 3920fd92fe
commit 77e2837ff0

View file

@ -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)
}