comiit changes
This commit is contained in:
parent
985863deb2
commit
713fe21190
21
build.sh
21
build.sh
@ -24,9 +24,13 @@ rev="QmPAqM7anxdr1ngPmJz9J9AAxDLinDz2Eh9aAzLF9T7LNa"
|
|||||||
ipfs="no"
|
ipfs="no"
|
||||||
rebuildjs="yes"
|
rebuildjs="yes"
|
||||||
_next=""
|
_next=""
|
||||||
|
unstable="no"
|
||||||
# check for build flags
|
# check for build flags
|
||||||
for arg in $@ ; do
|
for arg in $@ ; do
|
||||||
case $arg in
|
case $arg in
|
||||||
|
"--unstable")
|
||||||
|
unstable="yes"
|
||||||
|
;;
|
||||||
"--no-js")
|
"--no-js")
|
||||||
rebuildjs="no"
|
rebuildjs="no"
|
||||||
;;
|
;;
|
||||||
@ -83,10 +87,17 @@ if [ "x$ipfs" == "xyes" ] ; then
|
|||||||
go get -d -v
|
go get -d -v
|
||||||
go build -v .
|
go build -v .
|
||||||
mv nntpchan srndv2
|
mv nntpchan srndv2
|
||||||
|
echo -e "Built\n"
|
||||||
|
echo "Now configure NNTPChan with ./srndv2 setup"
|
||||||
else
|
else
|
||||||
go get -u -v github.com/majestrate/srndv2
|
if [ "X$unstable" == "Xyes" ] ; then
|
||||||
cp $GOPATH/bin/srndv2 $root
|
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
|
fi
|
||||||
|
|
||||||
echo -e "Built\n"
|
|
||||||
echo "Now configure NNTPChan with ./srndv2 setup"
|
|
||||||
|
@ -89,6 +89,12 @@ textarea {
|
|||||||
max-height: 2.4em;
|
max-height: 2.4em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.post_body > pre {
|
||||||
|
font-size: 9pt;
|
||||||
|
background: rbga(0, 0, 0, 0);
|
||||||
|
font-weight: unset;
|
||||||
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
align: center;
|
align: center;
|
||||||
|
Reference in New Issue
Block a user