Skip to content

Commit aea7d8c

Browse files
committed
updating utils, examples
1 parent 686ddcd commit aea7d8c

File tree

19 files changed

+40
-703
lines changed

19 files changed

+40
-703
lines changed

examples/simple/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ func main() {
181181

182182
exec.
183183
Task("onservers:a", func() {
184-
exec.RunIfNoBinary("docker", []string{
184+
exec.RemoteRunIfNoBinary("docker", []string{
185185
"echo 'a'",
186186
"echo 'b'",
187187
})
@@ -192,7 +192,7 @@ func main() {
192192

193193
exec.
194194
Task("onservers:b", func() {
195-
exec.RunIfNoBinary("wget", []string{
195+
exec.RemoteRunIfNoBinary("wget", []string{
196196
"echo 'a'",
197197
"echo 'b'",
198198
})
@@ -203,7 +203,7 @@ func main() {
203203

204204
exec.
205205
Task("onservers:c", func() {
206-
exec.RunIfNoBinary("docker", []string{
206+
exec.RemoteRunIfNoBinary("docker", []string{
207207
"echo 'a'",
208208
"echo 'b'",
209209
})

examples/symfony/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package main
22

33
import (
44
"github.com/go-exec/exec"
5-
_ "github.com/go-exec/exec/recipes/symfony"
5+
_ "github.com/go-exec/exec/examples/recipes/symfony"
66
)
77

88
/*

recipes/deploy/cleanup.go

Lines changed: 0 additions & 29 deletions
This file was deleted.

recipes/deploy/clear_paths.go

Lines changed: 0 additions & 21 deletions
This file was deleted.

recipes/deploy/copy_dirs.go

Lines changed: 0 additions & 21 deletions
This file was deleted.

recipes/deploy/defaults.go

Lines changed: 0 additions & 108 deletions
This file was deleted.

recipes/deploy/lock.go

Lines changed: 0 additions & 21 deletions
This file was deleted.

recipes/deploy/prepare.go

Lines changed: 0 additions & 25 deletions
This file was deleted.

recipes/deploy/release.go

Lines changed: 0 additions & 106 deletions
This file was deleted.

recipes/deploy/rollback.go

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)