summaryrefslogtreecommitdiff
path: root/chapter32/simple.ps1
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2026-12-04 13:51:35 -0800
committerGitHub <noreply@github.com>2026-12-04 13:51:35 -0800
commit7be87ff4db692a392af1c68abe7752a1da55637f (patch)
treed5e8e68bed74166aeaf4b658f9ce104d1df48c8a /chapter32/simple.ps1
parentf0a6c6757a795b8e186de0076836a87acef59fa7 (diff)
parentebdb2c71237506d67cfa8f3bb459b41902840481 (diff)
downloadSimple-7be87ff4db692a392af1c68abe7752a1da55637f.tar.gz
Simple-7be87ff4db692a392af1c68abe7752a1da55637f.zip
Merge pull request #265 from SeaOfNodes/ch32main
Land Chapter 32 compiler performance work and backported fixes
Diffstat (limited to 'chapter32/simple.ps1')
-rw-r--r--chapter32/simple.ps110
1 files changed, 10 insertions, 0 deletions
diff --git a/chapter32/simple.ps1 b/chapter32/simple.ps1
new file mode 100644
index 00000000..d7ea0678
--- /dev/null
+++ b/chapter32/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