summaryrefslogtreecommitdiff
path: root/simple.ps1
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2026-08-10 11:11:18 -0700
committerCliff Click <cliffc@acm.org>2026-08-10 15:21:17 -0700
commit28209703c72fb7e9955961dbdb84e24a0f871acd (patch)
tree8e4df2c1a5e6811696b454bbc4d7cd1cc30e42e7 /simple.ps1
parente57bdd315a7918a0d130e1c95648ca4a1b4f08ed (diff)
downloadSimple-linear-chapter25.tar.gz
Simple-linear-chapter25.zip
Chapter 25: Moduleslinear-chapter25
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