struct names fixed
This commit is contained in:
parent
13beb532f9
commit
dff147f801
@ -34,7 +34,7 @@ type (
|
||||
// Realize main struct
|
||||
Realize struct {
|
||||
Settings Settings `yaml:"settings" json:"settings"`
|
||||
Server Server `yaml:"server" json:"server"`
|
||||
Server Server `yaml:"server,omitempty" json:"server,omitempty"`
|
||||
Schema `yaml:",inline" json:",inline"`
|
||||
Sync chan string `yaml:"-" json:"-"`
|
||||
Err Func `yaml:"-" json:"-"`
|
||||
|
@ -48,7 +48,7 @@ func TestProject_Before(t *testing.T) {
|
||||
r = Realize{}
|
||||
r.Projects = append(r.Projects, Project{
|
||||
parent: &r,
|
||||
Environment: map[string]string{
|
||||
Env: map[string]string{
|
||||
input: input,
|
||||
},
|
||||
})
|
||||
@ -129,7 +129,9 @@ func TestProject_Validate(t *testing.T) {
|
||||
parent: &r,
|
||||
Watcher: Watch{
|
||||
Exts: []string{},
|
||||
IgnoredPaths: []string{"/test/ignore"},
|
||||
Ignore: Ignore{
|
||||
Paths:[]string{"/test/ignore"},
|
||||
},
|
||||
},
|
||||
})
|
||||
for i, v := range data {
|
||||
|
@ -68,7 +68,9 @@ func (s *Schema) New(c *cli.Context) Project {
|
||||
Args: params(c),
|
||||
Watcher: Watch{
|
||||
Paths: []string{"/"},
|
||||
IgnoredPaths: []string{".git", ".realize", "vendor"},
|
||||
Ignore: Ignore{
|
||||
Paths:[]string{".git", ".realize", "vendor"},
|
||||
},
|
||||
Exts: []string{"go"},
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user