summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2023-04-14 00:19:54 +0800
committerruki <[email protected]>2023-04-14 00:19:54 +0800
commite995d048e4b0455429a1719c5980eff60659d193 (patch)
tree4931fa2961f3b8af8831df5b646f3a8bc0f404b7 /scripts
parent2d5cabdbfe1340aefb6c805d1bc09745e2b31bf0 (diff)
wrap xmake.sh for msys/mingw
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/msys/xmake.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/msys/xmake.sh b/scripts/msys/xmake.sh
new file mode 100755
index 000000000..167d87278
--- /dev/null
+++ b/scripts/msys/xmake.sh
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+if [ -f "$BASEDIR/../share/xmake/xmake.exe" ]; then
+ $BASEDIR/../share/xmake/xmake.exe "$@"
+fi