refactor structure

This commit is contained in:
Jeff Becker committed 2016-10-07 10:06:25 -04:00
1 parent 6996e3abc4
commit 40ceb747ae
18 files changed
+14 -13

No files matched your search

+8 -13
View File
@@ -15,17 +15,6 @@ if [ ! -f $GOPATH/bin/minify ]; then
echo "set up minifiy"
go get -v github.com/tdewolff/minify/cmd/minify
fi
if [ ! -f $GOPATH/bin/gopherjs ]; then
echo "set up gopherjs"
go get -v -u github.com/gopherjs/gopherjs
fi
# build cuckoo miner
#echo "Building cuckoo miner"
#go get -v -u github.com/ZiRo-/cuckgo/miner_js
#$GOPATH/bin/gopherjs -m -v build github.com/ZiRo-/cuckgo/miner_js
#mv ./miner_js.js ./contrib/static/miner-js.js
#rm ./miner_js.js.map
outfile=$PWD/contrib/static/nntpchan.js
@@ -62,10 +51,16 @@ if [ -e ./contrib/js/contrib/*.js ] ; then
done
fi
mini ./contrib/js/main.js_ $outfile
mini ./contrib/js/entry.js $outfile
# local js
for f in ./contrib/js/*.js ; do
for f in ./contrib/js/nntpchan/*.js ; do
mini $f $outfile
done
# vendor js
for f in ./contrib/js/vendor/*.js ; do
mini $f $outfile
done
echo "ok"
+1
View File
@@ -0,0 +1 @@
3rd party javascript
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1
View File
@@ -0,0 +1 @@
main nntpchan javascript files
File renamed without changes.
File renamed without changes.
File renamed without changes.
+2
View File
@@ -0,0 +1,2 @@
this directory holds unused javascript files for nntpchan
don't delete files move them here
+2
View File
@@ -0,0 +1,2 @@
javascript files for nntpchan