mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
Make scripts executable
This commit is contained in:
12
wasm/build.sh
Normal file → Executable file
12
wasm/build.sh
Normal file → Executable file
@@ -1,3 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
(cd lib; wasm-pack build --debug)
|
||||
(cd demo; npm install && node_modules/.bin/webpack-dev-server)
|
||||
(
|
||||
cd lib
|
||||
wasm-pack build --debug
|
||||
)
|
||||
(
|
||||
cd demo
|
||||
npm install && node_modules/.bin/webpack-dev-server
|
||||
)
|
||||
|
||||
12
wasm/release.sh
Normal file → Executable file
12
wasm/release.sh
Normal file → Executable file
@@ -1,4 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
(cd lib; wasm-pack build)
|
||||
(cd demo; npm install && node_modules/.bin/webpack --mode production)
|
||||
(
|
||||
cd lib
|
||||
wasm-pack build
|
||||
)
|
||||
(
|
||||
cd demo
|
||||
npm install && node_modules/.bin/webpack --mode production
|
||||
)
|
||||
echo "Output saved to demo/dist"
|
||||
|
||||
Reference in New Issue
Block a user