Skip to content

Commit 6007ee0

Browse files
Use npmwally to build wally package
1 parent cfe4edb commit 6007ee0

File tree

2 files changed

+2
-249
lines changed

2 files changed

+2
-249
lines changed

scripts/build-wally-package.sh

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,6 @@
22

33
set -e
44

5-
rm -rf temp
5+
rm -rf build/wally
66

7-
mkdir -p temp
8-
9-
cp -r src temp/src
10-
11-
./scripts/remove-tests.sh temp
12-
13-
wally_package=build/wally
14-
rm -rf $wally_package
15-
16-
echo Process package
17-
18-
mkdir -p $wally_package
19-
cp LICENSE $wally_package/LICENSE
20-
21-
node ./scripts/npm-to-wally.js package.json $wally_package/wally.toml $wally_package/default.project.json temp/wally-package.project.json
22-
23-
cp .darklua-wally.json temp
24-
cp -r node_modules/.luau-aliases/* temp
25-
26-
rojo sourcemap temp/wally-package.project.json --output temp/sourcemap.json
27-
28-
darklua process --config temp/.darklua-wally.json temp/src $wally_package/src
29-
30-
wally package --project-path $wally_package --list
7+
yarn dlx npmwally convert --output build/wally

scripts/npm-to-wally.js

Lines changed: 0 additions & 224 deletions
This file was deleted.

0 commit comments

Comments
 (0)