Loading projects/snowflake/build +7 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,13 @@ cd /var/tmp/build/[% project %]-[% c('version') %] mkdir -p "$GOPATH/src/git.torproject.org/pluggable-transports" ln -sf "$PWD" "$GOPATH/src/git.torproject.org/pluggable-transports/snowflake.git" # Remove go.mod and go.sum files until we can build using Go module versioning rm -f go.mod go.sum # Fix gopath location of versioned dependencies ln -sf "$GOPATH/src/github.com/pion/webrtc" "$GOPATH/src/github.com/pion/webrtc/v2" ln -sf "$GOPATH/src/github.com/pion/sdp" "$GOPATH/src/github.com/pion/sdp/v2" cd client go build -ldflags '-s' cp -a client[% IF c("var/windows") %].exe[% END %] $PTDIR/snowflake-client[% IF c("var/windows") %].exe[% END %] Loading projects/snowflake/config +1 −1 Original line number Diff line number Diff line # vim: filetype=yaml sw=2 version: '[% c("abbrev") %]' git_url: https://git.torproject.org/pluggable-transports/snowflake.git git_hash: b4f4b29a037fd2444423835da5999f39525f3d24 git_hash: 58b52eb9f7987789d8e90a982a6df16013e200dd filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %].tar.gz' var: Loading Loading
projects/snowflake/build +7 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,13 @@ cd /var/tmp/build/[% project %]-[% c('version') %] mkdir -p "$GOPATH/src/git.torproject.org/pluggable-transports" ln -sf "$PWD" "$GOPATH/src/git.torproject.org/pluggable-transports/snowflake.git" # Remove go.mod and go.sum files until we can build using Go module versioning rm -f go.mod go.sum # Fix gopath location of versioned dependencies ln -sf "$GOPATH/src/github.com/pion/webrtc" "$GOPATH/src/github.com/pion/webrtc/v2" ln -sf "$GOPATH/src/github.com/pion/sdp" "$GOPATH/src/github.com/pion/sdp/v2" cd client go build -ldflags '-s' cp -a client[% IF c("var/windows") %].exe[% END %] $PTDIR/snowflake-client[% IF c("var/windows") %].exe[% END %] Loading
projects/snowflake/config +1 −1 Original line number Diff line number Diff line # vim: filetype=yaml sw=2 version: '[% c("abbrev") %]' git_url: https://git.torproject.org/pluggable-transports/snowflake.git git_hash: b4f4b29a037fd2444423835da5999f39525f3d24 git_hash: 58b52eb9f7987789d8e90a982a6df16013e200dd filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %].tar.gz' var: Loading