This commit is contained in:
alessio 2017-08-07 23:37:45 +02:00
parent 1fcb9e8209
commit e68664d7b4
3 changed files with 2 additions and 3 deletions

View File

@ -60,7 +60,7 @@ $ go get github.com/tockins/realize
$ realize run
```
It will create a realize.yaml file if it doesn't exist already, adds the working directory as project and run the pipeline.
It will create a realize.yaml file if it doesn't exist already, add the working directory as project and run the pipeline.
The Run command supports the following custom parameters:

View File

@ -44,7 +44,6 @@ func main() {
if gopath == "" {
return errors.New("$GOPATH isn't set properly")
}
r = realize{
Sync: make(chan string),
Settings: settings.Settings{

View File

@ -56,7 +56,7 @@ func (h *Blueprint) Run(p *cli.Context) error {
// env variables
for key, item := range h.Projects[k].Environment {
if err := os.Setenv(key, item); err != nil{
if err := os.Setenv(key, item); err != nil {
h.Projects[k].Buffer.StdErr = append(h.Projects[k].Buffer.StdErr, BufferOut{Time: time.Now(), Text: err.Error(), Type: "Env error", Stream: ""})
}
}