Add an install script for the AWS library
Eventually this won't be required, but for now, it will simplify bringing up our first end-to-end working example.
This commit is contained in:
parent
c821634761
commit
432b9666fe
18
lib/aws/install.sh
Executable file
18
lib/aws/install.sh
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/bin/bash
|
||||
# A simple installation script for the Mu standard library.
|
||||
|
||||
set -e # bail on errors
|
||||
|
||||
echo Compiling:
|
||||
mujs # compile the package
|
||||
|
||||
echo Sharing NPM links:
|
||||
yarn link # let NPM references resolve easily.
|
||||
|
||||
MULIB=/usr/local/mu/lib
|
||||
echo Installing Mu standard library to $MULIB:
|
||||
mkdir -p $MULIB # ensure the target library directory exists
|
||||
cp -Rv ./bin/ $MULIB/aws/ # copy to the standard library location
|
||||
|
||||
echo Done.
|
||||
|
Loading…
Reference in a new issue