itsdrike.com/scripts/common.sh

14 lines
305 B
Bash
Raw Permalink Normal View History

2022-02-08 19:08:53 +00:00
#!/usr/bin/env bash
2021-08-24 18:27:52 +00:00
BASEDIR="$PWD"
2022-05-14 22:28:12 +00:00
export OUTPUT_DIR="$BASEDIR/public"
export STATIC_SRC="$BASEDIR/static/src"
export STATIC_BUILD="$BASEDIR/static/build"
2021-08-24 18:27:52 +00:00
2022-05-14 22:28:12 +00:00
if [[ -f "$BASEDIR/.env" ]]; then
export $(cat "$BASEDIR/.env" | xargs)
fi
NODE_BIN="$BASEDIR/node_modules/.bin"
export PATH="$NODE_BIN:$PATH"