Update build scripts
This commit is contained in:
parent
e50a31cc05
commit
83e3e44f46
@ -1,12 +1,13 @@
|
||||
#!/bin/bash
|
||||
mkdir -p dst
|
||||
mkdir -p yomichan-import
|
||||
|
||||
go build github.com/FooSoft/yomichan-import/yomichan
|
||||
go build github.com/FooSoft/yomichan-import/yomichan-gtk
|
||||
|
||||
mkdir yomichan-import
|
||||
|
||||
mv yomichan yomichan-import
|
||||
mv yomichan-gtk yomichan-import
|
||||
|
||||
7za a yomichan-import_linux.7z yomichan-import
|
||||
tar czvf dst/yomichan-import_linux.tar.gz yomichan-import
|
||||
|
||||
rm -rf yomichan-import
|
||||
|
@ -1,15 +1,15 @@
|
||||
#!/bin/bash
|
||||
mkdir -p dst
|
||||
mkdir -p yomichan-import
|
||||
|
||||
export CXX=x86_64-w64-mingw32-g++.exe
|
||||
export CC=x86_64-w64-mingw32-gcc.exe
|
||||
|
||||
go build github.com/FooSoft/yomichan-import/yomichan
|
||||
go build -ldflags="-H windowsgui" github.com/FooSoft/yomichan-import/yomichan-gtk
|
||||
|
||||
mkdir yomichan-import
|
||||
|
||||
mv yomichan.exe yomichan-import
|
||||
mv yomichan-gtk.exe yomichan-import
|
||||
|
||||
7za a yomichan-import_windows.7z yomichan-import
|
||||
7za a yomichan-import_windows.zip yomichan-import
|
||||
|
||||
rm -rf yomichan-import
|
||||
|
Loading…
Reference in New Issue
Block a user