feat: with actual stdout and stderr
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
5e812d33bb
commit
a5ebb4d6d9
@ -3,11 +3,18 @@ package main
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
|
"os"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
)
|
)
|
||||||
|
|
||||||
func Ci(ctx context.Context) error {
|
func Ci(ctx context.Context) error {
|
||||||
log.Println("CI")
|
log.Println("CI")
|
||||||
|
|
||||||
return exec.Command("shuttle", "--skip-pull", "run", "build").Run()
|
cmd := exec.Command("shuttle", "--skip-pull", "run", "build")
|
||||||
|
|
||||||
|
cmd.Stdout = os.Stdout
|
||||||
|
cmd.Stderr = os.Stderr
|
||||||
|
|
||||||
|
return cmd.Run()
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user