summaryrefslogtreecommitdiff
path: root/simple.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'simple.ps1')
-rw-r--r--simple.ps110
1 files changed, 10 insertions, 0 deletions
diff --git a/simple.ps1 b/simple.ps1
new file mode 100644
index 00000000..d7ea0678
--- /dev/null
+++ b/simple.ps1
@@ -0,0 +1,10 @@
+$Here = Split-Path -Parent $MyInvocation.MyCommand.Path
+$Release = Join-Path $Here "build\release"
+$Jar = Join-Path $Release "Simple.jar"
+
+if (-not $env:SIMPLE_HOME) {
+ $env:SIMPLE_HOME = $Release
+}
+
+& java -jar $Jar @args
+exit $LASTEXITCODE