Merge remote-tracking branch 'origin/master'
Cette révision appartient à :
révision
db13f239db
2 fichiers modifiés avec 3 ajouts et 2 suppressions
|
@ -60,6 +60,7 @@ Access the website by going to [localhost:9999](http://localhost:9999).
|
||||||
> nyaa_psql.backup.
|
> nyaa_psql.backup.
|
||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
|
* Make search case insensitive
|
||||||
* DB caching of popular queries to reduce server load?
|
* DB caching of popular queries to reduce server load?
|
||||||
* Torrent data scraping from definable tracker chihaya intergration/support?
|
* Torrent data scraping from definable tracker chihaya intergration/support?
|
||||||
* seeds/leeachers
|
* seeds/leeachers
|
||||||
|
|
|
@ -7,7 +7,7 @@ version=$(git describe --tags)
|
||||||
declare -a OSes
|
declare -a OSes
|
||||||
OSes[0]='linux;x86_64-linux-gnu-gcc'
|
OSes[0]='linux;x86_64-linux-gnu-gcc'
|
||||||
OSes[1]='windows;x86_64-w64-mingw32-gcc'
|
OSes[1]='windows;x86_64-w64-mingw32-gcc'
|
||||||
mkdir dist
|
mkdir -p dist
|
||||||
|
|
||||||
for i in "${OSes[@]}"; do
|
for i in "${OSes[@]}"; do
|
||||||
arr=(${i//;/ })
|
arr=(${i//;/ })
|
||||||
|
@ -17,5 +17,5 @@ for i in "${OSes[@]}"; do
|
||||||
echo -e "\nBuilding $os..."
|
echo -e "\nBuilding $os..."
|
||||||
echo GOOS=$os GOARCH=amd64 CC=$cc CGO_ENABLED=1 go build -v
|
echo GOOS=$os GOARCH=amd64 CC=$cc CGO_ENABLED=1 go build -v
|
||||||
GOOS=$os GOARCH=amd64 CC=$cc CGO_ENABLED=1 go build -v
|
GOOS=$os GOARCH=amd64 CC=$cc CGO_ENABLED=1 go build -v
|
||||||
zip -9 -q dist/nyaa-${version}_${os}_amd64.zip os css js *.md *.html nyaa nyaa.exe
|
zip -9 -r dist/nyaa-${version}_${os}_amd64.zip os public templates service/user/locale *.md nyaa nyaa.exe
|
||||||
done
|
done
|
||||||
|
|
Référencer dans un nouveau ticket