comiit changes
This commit is contained in:
parent
985863deb2
commit
713fe21190
15
build.sh
15
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
|
||||||
|
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
|
else
|
||||||
go get -u -v github.com/majestrate/srndv2
|
go get -u -v github.com/majestrate/srndv2
|
||||||
cp $GOPATH/bin/srndv2 $root
|
cp $GOPATH/bin/srndv2 $root
|
||||||
fi
|
|
||||||
|
|
||||||
echo -e "Built\n"
|
echo -e "Built\n"
|
||||||
echo "Now configure NNTPChan with ./srndv2 setup"
|
echo "Now configure NNTPChan with ./srndv2 setup"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
@ -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