chore: Do Go builds work?

This commit is contained in:
Kevin Chen 2023-09-27 14:58:22 -04:00 committed by Jacob Heider
parent 62ff4dc4ae
commit b987338a88

View file

@ -60,6 +60,8 @@ test:
mv $FIXTURE $FIXTURE.go mv $FIXTURE $FIXTURE.go
OUTPUT=$(go run $FIXTURE.go) OUTPUT=$(go run $FIXTURE.go)
test "Hello World" = "$OUTPUT" test "Hello World" = "$OUTPUT"
go build -o my-artifact $FIXTURE.go
ls -la $FIXTURE.go
fixture: | fixture: |
package main package main
import "fmt" import "fmt"