Go module install/get make no sense

This commit is contained in:
Matt Joiner 2018-07-27 10:44:26 +10:00
parent 7ab51ee283
commit 0fdd31b6f3
2 changed files with 2 additions and 1 deletions

View File

@ -30,5 +30,6 @@ jobs:
- run: gomobile init - run: gomobile init
- run: gomobile build -target=android $PROJECT_GO_PACKAGE - run: gomobile build -target=android $PROJECT_GO_PACKAGE
# - run: GO111MODULE=off go install github.com/anacrolix/godo # - run: GO111MODULE=off go install github.com/anacrolix/godo
- run: go install ./cmd/torrentfs
- run: sudo modprobe fuse - run: sudo modprobe fuse
- run: fs/test.sh - run: fs/test.sh

View File

@ -3,7 +3,7 @@ repopath=$(cd $(dirname $0)/..; pwd)
d=$(mktemp -d) d=$(mktemp -d)
pushd "$d" pushd "$d"
mkdir mnt torrents mkdir mnt torrents
GOPPROF=http go run github.com/anacrolix/torrent/cmd/torrentfs -mountDir=mnt -metainfoDir=torrents & GOPPROF=http torrentfs -mountDir=mnt -metainfoDir=torrents &
trap 'set +e; sudo umount -f mnt; pushd; rm -rv "$d"' EXIT trap 'set +e; sudo umount -f mnt; pushd; rm -rv "$d"' EXIT
pushd torrents pushd torrents
cp "$repopath"/testdata/debian-9.1.0-amd64-netinst.iso.torrent . cp "$repopath"/testdata/debian-9.1.0-amd64-netinst.iso.torrent .