source: Main/trunk/installer.sh@ 64

Last change on this file since 64 was 62, checked in by Nishi, on Sep 19, 2024 at 5:02:26 AM

add installer.sh

  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 315 bytes
Line 
1#!/bin/sh
2# $Id: installer.sh 62 2024-09-18 20:02:26Z nishi $
3
4fail() {
5 rm -f tewi-service.exe
6 rm -f tewi.exe
7 exit 1
8}
9
10make clean || fail
11make PLATFORM=$1 -j4 || fail
12cp Server/tewi.exe tewi.exe
13make clean || fail
14make PLATFORM=$1-service -j4 || fail
15cp Server/tewi.exe tewi-service.exe
16cd Server
17makensis install.nsi
18rm -f tewi.exe tewi-service.exe
19cd ..
Note: See TracBrowser for help on using the repository browser.