Archived
1
0

update gx stuffs

This commit is contained in:
Jeff Becker 2016-05-13 09:30:24 -04:00
parent 136a0878af
commit 6e4398f0c2
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
4 changed files with 10 additions and 6 deletions

2
.gitignore vendored
View File

@ -23,6 +23,7 @@ srndv2
# private key
*.key
*.txt
# certificates
certs
@ -30,3 +31,4 @@ certs
rebuild.sh
vendor
.gx

View File

@ -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

View File

@ -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

View File

@ -2,7 +2,7 @@ package main
import (
"fmt"
"gx/ipfs/QmaNuKBcG3hb5YJ4xpeipdX3t2Fw6pwZJSnpvsfn9Zj1tm/srndv2/src/srnd"
"gx/ipfs/QmZWEqyb7hs2z1pNUqdfNyDgG3cj31ZZgP148RFdRExCQr/srndv2/src/srnd"
"log"
"os"
"os/signal"