]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Go module install/get make no sense
authorMatt Joiner <anacrolix@gmail.com>
Fri, 27 Jul 2018 00:44:26 +0000 (10:44 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Fri, 27 Jul 2018 00:44:26 +0000 (10:44 +1000)
.circleci/config.yml
fs/test.sh

index 958ff2e220ace96b696b0935231870630f69660f..d253efa0895a8eda449e56ec800462b16f2c63d2 100644 (file)
@@ -30,5 +30,6 @@ jobs:
       - run: gomobile init
       - run: gomobile build -target=android $PROJECT_GO_PACKAGE
       # - run: GO111MODULE=off go install github.com/anacrolix/godo
+      - run: go install ./cmd/torrentfs
       - run: sudo modprobe fuse
       - run: fs/test.sh
index 751852733d144c99d3ff73c5305f0de66d2e948e..116bbff28885cd3c1bd11c466aa323e1df7b07b0 100755 (executable)
@@ -3,7 +3,7 @@ repopath=$(cd $(dirname $0)/..; pwd)
 d=$(mktemp -d)
 pushd "$d"
 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
 pushd torrents
 cp "$repopath"/testdata/debian-9.1.0-amd64-netinst.iso.torrent .