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 # private key
*.key *.key
*.txt
# certificates # certificates
certs certs
@ -30,3 +31,4 @@ certs
rebuild.sh rebuild.sh
vendor vendor
.gx

View File

@ -12,21 +12,22 @@ srnd.ini
feeds.ini feeds.ini
# default article store directory # default article store directory
articles articles/
# generated files # generated files
webroot webroot/
# built binaries # built binaries
go go/
srndv2 srndv2
nntpchan nntpchan
# private key # private key
*.key *.key
*.txt
# certificates # certificates
certs certs/
rebuild.sh rebuild.sh

View File

@ -59,7 +59,8 @@ if [ "x$ipfs" == "xyes" ] ; then
echo "obtaining gx" echo "obtaining gx"
go get -v github.com/whyrusleeping/gx go get -v github.com/whyrusleeping/gx
go get -v github.com/whyrusleeping/gx-go go get -v github.com/whyrusleeping/gx-go
gx install gx get $rev
go get -u -v gx/ipfs/$rev/srndv2
else else
go get -u -v github.com/majestrate/srndv2 go get -u -v github.com/majestrate/srndv2
fi fi

View File

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