mirror of
https://github.com/ItsDrike/itsdrike.com.git
synced 2024-11-13 23:37:16 +00:00
14 lines
305 B
Bash
Executable file
14 lines
305 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
BASEDIR="$PWD"
|
|
export OUTPUT_DIR="$BASEDIR/public"
|
|
export STATIC_SRC="$BASEDIR/static/src"
|
|
export STATIC_BUILD="$BASEDIR/static/build"
|
|
|
|
if [[ -f "$BASEDIR/.env" ]]; then
|
|
export $(cat "$BASEDIR/.env" | xargs)
|
|
fi
|
|
|
|
NODE_BIN="$BASEDIR/node_modules/.bin"
|
|
export PATH="$NODE_BIN:$PATH"
|