mnml/bin/client.sh
2019-07-16 14:05:54 +10:00

15 lines
255 B
Bash
Executable File

#!/bin/bash
# bless you chris and andy <3
DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
MNML_PATH=$(realpath "$DIR/../")
VERSION=$(<"$MNML_PATH/VERSION")
echo "Building client version $VERSION"
cd $MNML_PATH/client
rm -rf dist
npm i
npm run build