Add some scripts for faster workflow

This commit is contained in:
ItsDrike 2021-08-24 20:27:52 +02:00
parent e6db609303
commit d23d5f6c61
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD
3 changed files with 29 additions and 0 deletions

8
scripts/common.sh Executable file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env sh
BASEDIR="$PWD"
OUTPUT_DIR="$BASEDIR/public"
STATIC_SRC="$BASEDIR/static/src"
STATIC_BUILD="$BASEDIR/static/build"
[[ -f "$BASEDIR/.env" ]] && export $(cat "$BASEDIR/.env" | xargs)