File tree Expand file tree Collapse file tree 5 files changed +58
-7
lines changed Expand file tree Collapse file tree 5 files changed +58
-7
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ release/*
55! release /Readme.txt
66! release /config.ini
77! release /build.sh
8- ! release /build.bat
8+ ! release /build1.bat
9+ ! release /build2.bat
910test /*
1011package-lock.json
1112gui /misc /*
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22
33pkg -t node10-linux -o ./stratumproxy ../index.js
44
5+ rm -r ./stage/*
6+
7+ cp stratumproxy stage/
8+ cp config.ini stage/
9+ cp README.txt stage/
10+
11+ rm stratum-proxy-ver-linux.tar.gz
12+
13+ tar -czf stratum-proxy-ver-linux.tar.gz --directory=stage .
14+
15+ echo " ."
16+ echo " ."
17+ echo " ."
18+
19+ if [ $? -ge 1 ] ; then
20+ echo " ERRORS WERE ENCOUNTERED!!!"
21+ echo " ."
22+ echo " ."
23+ echo " ."
24+ exit 1
25+ fi
26+
27+ echo " script completed successfully"
28+ echo " ."
29+ echo " ."
30+ echo " ."
Original file line number Diff line number Diff line change 1+
2+ cd %~dp0
3+
4+ REM For some reason this has to be in a separate batch file. in my experience, any
5+ REM commands after pkg will not execute. it's like the batch file abruptly terminates!
6+
7+ pkg -t node10-win -o mvsp.exe ..\index.js --options title=" Stratum Proxy"
8+
Original file line number Diff line number Diff line change 1+
2+ cd %~dp0
3+
4+ REM copy in the most recent c# StratumProxy.exe
5+
6+ copy ..\gui\bin\Release\StratumProxy.exe .
7+
8+ REM copy to staging
9+
10+ del /Q .\stage\*.*
11+
12+ copy mvsp.exe stage
13+ copy README.txt stage
14+ copy config.ini stage
15+ copy StratumProxy.exe stage
16+
17+ REM create zip file
18+
19+ del " stratum-proxy-ver-win64.zip"
20+
21+ powershell.exe -nologo -noprofile -command " & { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::CreateFromDirectory('stage', 'stratum-proxy-ver-win64.zip'); }"
22+
You can’t perform that action at this time.
0 commit comments