Rev | Line | |
---|
[62] | 1 | #!/bin/sh
|
---|
| 2 | # $Id: installer.sh 77 2024-09-19 10:54:21Z nishi $
|
---|
| 3 |
|
---|
| 4 | fail() {
|
---|
| 5 | rm -f tewi-service.exe
|
---|
| 6 | rm -f tewi.exe
|
---|
| 7 | exit 1
|
---|
| 8 | }
|
---|
| 9 |
|
---|
| 10 | make clean || fail
|
---|
| 11 | make PLATFORM=$1 -j4 || fail
|
---|
| 12 | cp Server/tewi.exe tewi.exe
|
---|
| 13 | make clean || fail
|
---|
| 14 | make PLATFORM=$1-service -j4 || fail
|
---|
| 15 | cp Server/tewi.exe tewi-service.exe
|
---|
| 16 | cd Server
|
---|
[77] | 17 | makensis /DVERSION=\"`make get-version`\" install.nsi
|
---|
[62] | 18 | rm -f tewi.exe tewi-service.exe
|
---|
| 19 | cd ..
|
---|
Note:
See
TracBrowser
for help on using the repository browser.