forked from jimmejardine/qiqqa-open-source
-
Notifications
You must be signed in to change notification settings - Fork 5
/
build-installer.sh
49 lines (35 loc) · 972 Bytes
/
build-installer.sh
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
#! /bin/bash
#
# This is a clone of the Qiqqa.Build/go.bat Win32/CMD batch file, suitable for bash on Windows (part of Git-for-Windows)
#
cd Qiqqa.Build
cat <<EOF
Have you remembered to:
1.) Set the Qiqqa.csproj major version (which sets the client version).
2.) Update ClientVersion.xml Release Notes (and optionally the ObsoleteFromVersion and CompliantFromVersion settings)
3.) 'Rebuild All' in MSVC2019, target 'Release' (or Batch Build everything) so that binaries are ready in
the Qiqqa/bin/Release/ directory.
EOF
read -p "Press ENTER to continue..." -n 1
QIQQA_CLIENT=
if [ "$1" != "-debug" ] ; then
if [ -n "$1" ] ; then
set -x
QIQQA_CLIENT=-D:version.client=$1
set +x
shift
fi
fi
QIQQA_DEBUG=
if [ "$1" == "-debug" ] ; then
set -x
QIQQA_DEBUG=-debug
set +x
fi
set -x
./nant/bin/nant.exe -debug -buildfile:./nant/default.build $QIQQA_CLIENT $QIQQA_DEBUG
set +x
cd ..
#
# read -p "Press ENTER to continue..." -n 1
#