update to new build system
This commit is contained in:
@@ -2,11 +2,13 @@
|
|||||||
|
|
||||||
if [ x$1 == "xlib" ]; then
|
if [ x$1 == "xlib" ]; then
|
||||||
echo Doing lib...
|
echo Doing lib...
|
||||||
make spotless
|
if [ -f Makefile ]; then
|
||||||
cd sys/lib
|
make spotless
|
||||||
|
fi
|
||||||
|
cd sys/unix
|
||||||
./setup.sh hints/macOS.2020
|
./setup.sh hints/macOS.2020
|
||||||
cd ../..
|
cd ../..
|
||||||
make
|
make WANT_LIBNH=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ x$1 == "xrunlib" ]; then
|
if [ x$1 == "xrunlib" ]; then
|
||||||
@@ -19,15 +21,17 @@ fi
|
|||||||
|
|
||||||
if [ x$1 == "xwasm" ]; then
|
if [ x$1 == "xwasm" ]; then
|
||||||
echo Doing wasm...
|
echo Doing wasm...
|
||||||
make spotless
|
if [ -f Makefile ]; then
|
||||||
cd sys/lib
|
make spotless
|
||||||
./setup.sh hints/wasm
|
fi
|
||||||
|
cd sys/unix
|
||||||
|
./setup.sh hints/macOS.2020
|
||||||
cd ../..
|
cd ../..
|
||||||
make
|
make CROSS_TO_WASM=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ x$1 == "xrunwasm" ]; then
|
if [ x$1 == "xrunwasm" ]; then
|
||||||
cd sys/lib/npm-package && node test/test.js
|
cd sys/lib/npm-package && npm run build && node test/test.js
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ x$1 == "xbin" ]; then
|
if [ x$1 == "xbin" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user