Skip to content

Commit 2be6b42

Browse files
authored
Merge pull request #2 from Unisay/fix/assert-build
fix(build): create dist/ before running pslua backend
2 parents 74206b8 + ff769a3 commit 2be6b42

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

scripts/build

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,9 @@
22

33
echo "Building..."
44

5+
# pslua writes --lua-output-file dist/Test_Assert.lua with withFile WriteMode,
6+
# which does not create parent directories. dist/ is gitignored and absent on a
7+
# fresh checkout, so ensure it exists before spago build runs the pslua backend.
8+
mkdir -p dist
9+
510
spago build --quiet

0 commit comments

Comments
 (0)