Skip to content

Commit

Permalink
fix: go list fails in shallow clone
Browse files Browse the repository at this point in the history
  • Loading branch information
3DRX committed Dec 7, 2024
1 parent 3b62a35 commit 58f007f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rclgo_gen cgo-flags.env:
go run github.com/tiiuae/rclgo/cmd/rclgo-gen generate -d rclgo_gen

test: rclgo_gen cgo-flags.env
CGO_CFLAGS=$(CGO_CFLAGS) CGO_LDFLAGS=$(CGO_LDFLAGS) go test `go list ./... | grep -v "/rclgo_gen"`
CGO_CFLAGS=$(CGO_CFLAGS) CGO_LDFLAGS=$(CGO_LDFLAGS) go test `go list -buildvcs=false ./... | grep -v "/rclgo_gen"`

clean:
rm -rf wrb peer_connection_channel/libvp8decoder.so ros_channel/msgs cgo-flags.env rclgo_gen
Expand Down

0 comments on commit 58f007f

Please sign in to comment.