#!/bin/bash # Remove Windows Paths to prevent spawn yarn resolving to AppData on Windows which breaks child shells export PATH=$(echo $PATH | tr ':' '\n' | grep -v "/mnt/c/" | grep -v "/mnt/d/" | tr '\n' ':' | sed 's/:$//') export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" echo "Yarn Install..." yarn install echo "Build Public..." yarn build:public echo "Yarn Dev Minimal..." yarn dev:minimal