summaryrefslogtreecommitdiff
path: root/chapter33/simple.ps1
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2026-11-17 08:19:48 -0800
committerCliff Click <cliffc@acm.org>2026-11-17 08:19:48 -0800
commitb62b00d6c5953c4a2f3b60c09e50e776f901bac6 (patch)
tree3f3ef04fe8803c8de7dd45c4cf5e67f5fd599d11 /chapter33/simple.ps1
parentebdb2c71237506d67cfa8f3bb459b41902840481 (diff)
downloadSimple-b62b00d6c5953c4a2f3b60c09e50e776f901bac6.tar.gz
Simple-b62b00d6c5953c4a2f3b60c09e50e776f901bac6.zip
First cut ch33
Diffstat (limited to 'chapter33/simple.ps1')
-rw-r--r--chapter33/simple.ps110
1 files changed, 10 insertions, 0 deletions
diff --git a/chapter33/simple.ps1 b/chapter33/simple.ps1
new file mode 100644
index 00000000..d7ea0678
--- /dev/null
+++ b/chapter33/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