-
Notifications
You must be signed in to change notification settings - Fork 51
/
release.bat
66 lines (50 loc) · 1.11 KB
/
release.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
cd build
mkdir windows
cd windows
del windows.zip
copy ..\Release\sscanf.dll amxsscanf.dll
copy ..\..\LICENSE LICENSE
copy ..\..\pawn.json pawn.json
copy ..\..\README.md README.md
mkdir components
copy ..\Release\sscanf.dll components\sscanf.dll
mkdir plugins
copy ..\Release\sscanf.dll plugins\sscanf.dll
mkdir pawno
cd pawno
mkdir include
copy ..\..\..\sscanf2.inc include\sscanf2.inc
cd ..
mkdir qawno
cd qawno
mkdir include
copy ..\..\..\sscanf2.inc include\sscanf2.inc
cd ..
7z.exe a -tzip windows.zip *
cd ..
mkdir linux
cd linux
del linux.tar.gz
copy ..\Release\libsscanf.so amxsscanf.so
copy ..\..\LICENSE LICENSE
copy ..\..\pawn.json pawn.json
copy ..\..\README.md README.md
mkdir components
copy ..\Release\libsscanf.so components\sscanf.so
mkdir plugins
copy ..\Release\libsscanf.so plugins\sscanf.so
mkdir pawno
cd pawno
mkdir include
copy ..\..\..\sscanf2.inc include\sscanf2.inc
cd ..
mkdir qawno
cd qawno
mkdir include
copy ..\..\..\sscanf2.inc include\sscanf2.inc
cd ..
7z.exe a -ttar -so -an * | 7z.exe a -si linux.tar.gz *
cd ..
cd ..
copy build\windows\windows.zip .
copy build\linux\linux.tar.gz .