blob: e3ed654421af8522aa03d507e1166224768b5f76 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
set -eu
ScriptDirectory="$(dirname "$(readlink -f "$0")")"
cd "$ScriptDirectory"
# Targets
editor=0
cling=0
for Arg in "$@"; do eval "$Arg=1" 2>/dev/null || :; done
Command=
[ "$editor" = 1 ] && Command="editor"
[ "$cling" = 1 ] && Command="cling"
cat <<EOF | wine cmd.exe 2>/dev/null
call build.bat $Command
EOF
|