8000 Make scripts executable · RustPython/RustPython@d54d2b1 · GitHub
[go: up one dir, main page]

Skip to content

Commit d54d2b1

Browse files
committed
Make scripts executable
1 parent 2ea9dca commit d54d2b1

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

wasm/build.sh

100644100755
Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
#!/bin/sh
2+
13
set -e
2-
(cd lib; wasm-pack build --debug)
3-
(cd demo; npm install && node_modules/.bin/webpack-dev-server)
4+
(
5+
cd lib
6+
wasm-pack build --debug
7+
)
8+
(
9+
cd demo
10+
npm install && node_modules/.bin/webpack-dev-server
11+
)

wasm/release.sh

100644100755
Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1+
#!/bin/sh
2+
13
set -e
2-
(cd lib; wasm-pack build)
3-
(cd demo; npm install && node_modules/.bin/webpack --mode production)
4+
(
5+
cd lib
6+
wasm-pack build
7+
)
8+
(
9+
cd demo
10+
npm install && node_modules/.bin/webpack --mode production
11+
)
412
echo "Output saved to demo/dist"

0 commit comments

Comments
 (0)
0