From 0fdd31b6f39b4b251b0dc9adb1e3a7137c88137f Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Fri, 27 Jul 2018 10:44:26 +1000 Subject: [PATCH] Go module install/get make no sense --- .circleci/config.yml | 1 + fs/test.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 958ff2e2..d253efa0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 diff --git a/fs/test.sh b/fs/test.sh index 75185273..116bbff2 100755 --- a/fs/test.sh +++ b/fs/test.sh @@ -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 . -- 2.44.0