Add Modulus to deployment class.
Allow the Modulus deployment type to be used.
This commit is contained in:
parent
3920fd92fe
commit
77e2837ff0
1 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,7 @@ type Deploy struct {
|
||||||
EngineYard *EngineYard `yaml:"engineyard,omitempty"`
|
EngineYard *EngineYard `yaml:"engineyard,omitempty"`
|
||||||
Git *Git `yaml:"git,omitempty"`
|
Git *Git `yaml:"git,omitempty"`
|
||||||
Heroku *Heroku `yaml:"heroku,omitempty"`
|
Heroku *Heroku `yaml:"heroku,omitempty"`
|
||||||
|
Modulus *Modulus `yaml:"modulus,omitempty"`
|
||||||
Nodejitsu *Nodejitsu `yaml:"nodejitsu,omitempty"`
|
Nodejitsu *Nodejitsu `yaml:"nodejitsu,omitempty"`
|
||||||
Openshift *Openshift `yaml:"openshift,omitempty"`
|
Openshift *Openshift `yaml:"openshift,omitempty"`
|
||||||
}
|
}
|
||||||
|
@ -37,6 +38,9 @@ func (d *Deploy) Write(f *buildfile.Buildfile) {
|
||||||
if d.Heroku != nil {
|
if d.Heroku != nil {
|
||||||
d.Heroku.Write(f)
|
d.Heroku.Write(f)
|
||||||
}
|
}
|
||||||
|
if d.Modulus != nil {
|
||||||
|
d.Modulus.Write(f)
|
||||||
|
}
|
||||||
if d.Nodejitsu != nil {
|
if d.Nodejitsu != nil {
|
||||||
d.Nodejitsu.Write(f)
|
d.Nodejitsu.Write(f)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue