feat: with actual stdout and stderr
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Kasper Juul Hermansen 2023-04-08 12:42:57 +02:00
parent 5e812d33bb
commit a5ebb4d6d9
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

View File

@ -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()
} }