summaryrefslogtreecommitdiff
path: root/chapter25/simple.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'chapter25/simple.ps1')
-rw-r--r--chapter25/simple.ps110
1 files changed, 10 insertions, 0 deletions
diff --git a/chapter25/simple.ps1 b/chapter25/simple.ps1
new file mode 100644
index 00000000..d7ea0678
--- /dev/null
+++ b/chapter25/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