Archived
1
0

comiit changes

This commit is contained in:
Jeff Becker 2016-07-30 08:02:05 -04:00
parent 985863deb2
commit 713fe21190
2 changed files with 22 additions and 5 deletions

View File

@ -24,9 +24,13 @@ rev="QmPAqM7anxdr1ngPmJz9J9AAxDLinDz2Eh9aAzLF9T7LNa"
ipfs="no"
rebuildjs="yes"
_next=""
unstable="no"
# check for build flags
for arg in $@ ; do
case $arg in
"--unstable")
unstable="yes"
;;
"--no-js")
rebuildjs="no"
;;
@ -83,10 +87,17 @@ if [ "x$ipfs" == "xyes" ] ; then
go get -d -v
go build -v .
mv nntpchan srndv2
echo -e "Built\n"
echo "Now configure NNTPChan with ./srndv2 setup"
else
go get -u -v github.com/majestrate/srndv2
cp $GOPATH/bin/srndv2 $root
if [ "X$unstable" == "Xyes" ] ; then
go get -u -v github.com/majestrate/srndv2/cmd/nntpchan
cp $GOPATH/bin/nntpchan $root
echo "built unstable, if you don't know what to do, run without --unstable"
else
go get -u -v github.com/majestrate/srndv2
cp $GOPATH/bin/srndv2 $root
echo -e "Built\n"
echo "Now configure NNTPChan with ./srndv2 setup"
fi
fi
echo -e "Built\n"
echo "Now configure NNTPChan with ./srndv2 setup"

View File

@ -89,6 +89,12 @@ textarea {
max-height: 2.4em;
}
.post_body > pre {
font-size: 9pt;
background: rbga(0, 0, 0, 0);
font-weight: unset;
}
pre {
white-space: pre-wrap;
align: center;