storyboard-webclient/bin/setenv.sh
Monty Taylor 1695d65992 Allow use of node from packages
Change-Id: I4718d0b64f553db3453c1b80c0ea455cf1f685bc
2014-01-18 19:33:05 -08:00

11 lines
315 B
Bash

#!/bin/bash
BIN_DIR="$( cd "$( dirname "$0" )" && pwd )"
WORKSPACE="$(dirname "$BIN_DIR")"
# Add our new bin directory to the PATH
echo "Adding $WORKSPACE/.local/bin to PATH"
export PATH=$WORKSPACE/.local/bin:$PATH
echo "Adding $WORKSPACE/node_modules/.bin to PATH"
export PATH=$WORKSPACE/node_modules/.bin:$PATH