diff --git a/.gitignore b/.gitignore index 73e77ca..c98ed84 100644 --- a/.gitignore +++ b/.gitignore @@ -23,6 +23,7 @@ srndv2 # private key *.key +*.txt # certificates certs @@ -30,3 +31,4 @@ certs rebuild.sh vendor +.gx \ No newline at end of file diff --git a/.gxignore b/.gxignore index 4a659b8..f19cd8d 100644 --- a/.gxignore +++ b/.gxignore @@ -12,21 +12,22 @@ srnd.ini feeds.ini # default article store directory -articles +articles/ # generated files -webroot +webroot/ # built binaries -go +go/ srndv2 nntpchan # private key *.key +*.txt # certificates -certs +certs/ rebuild.sh diff --git a/build.sh b/build.sh index af2a6ce..ede8623 100755 --- a/build.sh +++ b/build.sh @@ -59,7 +59,8 @@ 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 + gx get $rev + go get -u -v gx/ipfs/$rev/srndv2 else go get -u -v github.com/majestrate/srndv2 fi diff --git a/srnd.go b/srnd.go index f2b6b3b..9e8d6d7 100644 --- a/srnd.go +++ b/srnd.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gx/ipfs/QmaNuKBcG3hb5YJ4xpeipdX3t2Fw6pwZJSnpvsfn9Zj1tm/srndv2/src/srnd" + "gx/ipfs/QmZWEqyb7hs2z1pNUqdfNyDgG3cj31ZZgP148RFdRExCQr/srndv2/src/srnd" "log" "os" "os/signal"