update ipfs hashes
This commit is contained in:
parent
c7d322c09d
commit
d8625a1cb5
22
build.sh
22
build.sh
@ -20,12 +20,15 @@ for arg in $@ ; do
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
rev="QmaNuKBcG3hb5YJ4xpeipdX3t2Fw6pwZJSnpvsfn9Zj1tm"
|
rev="QmZWEqyb7hs2z1pNUqdfNyDgG3cj31ZZgP148RFdRExCQr"
|
||||||
|
ipfs="no"
|
||||||
_next=""
|
_next=""
|
||||||
# check for build flags
|
# check for build flags
|
||||||
for arg in $@ ; do
|
for arg in $@ ; do
|
||||||
case $arg in
|
case $arg in
|
||||||
|
"--ipfs")
|
||||||
|
ipfs="yes"
|
||||||
|
;;
|
||||||
"--disable-redis")
|
"--disable-redis")
|
||||||
tags="$tags -tags disable_redis"
|
tags="$tags -tags disable_redis"
|
||||||
;;
|
;;
|
||||||
@ -48,12 +51,17 @@ if [ "x$rev" == "x" ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
cd $root
|
cd $root
|
||||||
#echo "obtaining gx"
|
unset GOPATH
|
||||||
#go get -v github.com/whyrusleeping/gx
|
|
||||||
#go get -v github.com/whyrusleeping/gx-go
|
|
||||||
#gx install --global && go build -v
|
|
||||||
export GOPATH=$PWD/go
|
export GOPATH=$PWD/go
|
||||||
mkdir -p $GOPATH
|
mkdir -p $GOPATH
|
||||||
go get -u -v github.com/majestrate/srndv2
|
|
||||||
|
if [ "x$ipfs" == "xyes" ] ; then
|
||||||
|
echo "obtaining gx"
|
||||||
|
go get -v github.com/whyrusleeping/gx
|
||||||
|
go get -v github.com/whyrusleeping/gx-go
|
||||||
|
gx install
|
||||||
|
else
|
||||||
|
go get -u -v github.com/majestrate/srndv2
|
||||||
|
fi
|
||||||
cp $GOPATH/bin/srndv2 $root
|
cp $GOPATH/bin/srndv2 $root
|
||||||
echo "Built"
|
echo "Built"
|
||||||
|
@ -6,12 +6,12 @@
|
|||||||
{
|
{
|
||||||
"author": "jeff",
|
"author": "jeff",
|
||||||
"name": "srndv2",
|
"name": "srndv2",
|
||||||
"hash": "QmaNuKBcG3hb5YJ4xpeipdX3t2Fw6pwZJSnpvsfn9Zj1tm",
|
"hash": "QmZWEqyb7hs2z1pNUqdfNyDgG3cj31ZZgP148RFdRExCQr",
|
||||||
"version": "0.0.0"
|
"version": "0.0.1"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"language": "go",
|
"language": "go",
|
||||||
"issues_url": "https://github.com/majestrate/nntpchan",
|
"issues_url": "https://github.com/majestrate/nntpchan",
|
||||||
"gx_version": "0.4.0",
|
"gx_version": "0.4.0",
|
||||||
"gx": {}
|
"gx": {}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user