File: cross_build.sh

package info (click to toggle)
golang-logrus 1.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-backports, bookworm-proposed-updates, experimental, forky, sid, trixie
  • size: 432 kB
  • sloc: sh: 7; makefile: 2
file content (5 lines) | stat: -rwxr-xr-x 174 bytes parent folder | download | duplicates (2)
1
2
3
4
5
#!/bin/bash

if [[ "$TRAVIS_GO_VERSION" =~ ^1\.13\. ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$GO111MODULE" == "on" ]]; then
    $(go env GOPATH)/bin/gox -build-lib
fi