Skip to content

Commit

Permalink
updating utils, examples
Browse files Browse the repository at this point in the history
  • Loading branch information
radutopala committed Dec 7, 2022
1 parent 686ddcd commit aea7d8c
Show file tree
Hide file tree
Showing 19 changed files with 40 additions and 703 deletions.
6 changes: 3 additions & 3 deletions examples/simple/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func main() {

exec.
Task("onservers:a", func() {
exec.RunIfNoBinary("docker", []string{
exec.RemoteRunIfNoBinary("docker", []string{
"echo 'a'",
"echo 'b'",
})
Expand All @@ -192,7 +192,7 @@ func main() {

exec.
Task("onservers:b", func() {
exec.RunIfNoBinary("wget", []string{
exec.RemoteRunIfNoBinary("wget", []string{
"echo 'a'",
"echo 'b'",
})
Expand All @@ -203,7 +203,7 @@ func main() {

exec.
Task("onservers:c", func() {
exec.RunIfNoBinary("docker", []string{
exec.RemoteRunIfNoBinary("docker", []string{
"echo 'a'",
"echo 'b'",
})
Expand Down
2 changes: 1 addition & 1 deletion examples/symfony/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package main

import (
"github.com/go-exec/exec"
_ "github.com/go-exec/exec/recipes/symfony"
_ "github.com/go-exec/exec/examples/recipes/symfony"
)

/*
Expand Down
29 changes: 0 additions & 29 deletions recipes/deploy/cleanup.go

This file was deleted.

21 changes: 0 additions & 21 deletions recipes/deploy/clear_paths.go

This file was deleted.

21 changes: 0 additions & 21 deletions recipes/deploy/copy_dirs.go

This file was deleted.

108 changes: 0 additions & 108 deletions recipes/deploy/defaults.go

This file was deleted.

21 changes: 0 additions & 21 deletions recipes/deploy/lock.go

This file was deleted.

25 changes: 0 additions & 25 deletions recipes/deploy/prepare.go

This file was deleted.

106 changes: 0 additions & 106 deletions recipes/deploy/release.go

This file was deleted.

23 changes: 0 additions & 23 deletions recipes/deploy/rollback.go

This file was deleted.

Loading

0 comments on commit aea7d8c

Please sign in to comment.