diff --git a/lib/aws/install.sh b/lib/aws/install.sh new file mode 100755 index 000000000..4e022047a --- /dev/null +++ b/lib/aws/install.sh @@ -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. +