itsdrike.com/scripts/common.sh

9 lines
202 B
Bash
Executable file

#!/usr/bin/env bash
BASEDIR="$PWD"
OUTPUT_DIR="$BASEDIR/public"
STATIC_SRC="$BASEDIR/static/src"
STATIC_BUILD="$BASEDIR/static/build"
[[ -f "$BASEDIR/.env" ]] && export $(cat "$BASEDIR/.env" | xargs)