mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-06-28 11:55:12 +00:00
Update magic starter with auto pathname detection
This commit is contained in:
@ -1,8 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
[ -z $TAO_PATH ] && echo 'You need to set the "TAO_PATH" envvar to the directory where the TFW repos are cloned!' && exit 1
|
TAO_PATH="${TAO_PATH:-$(dirname $(readlink -f $0))/..}"
|
||||||
|
|
||||||
BACKEND_REPO="${BACKEND_REPO:-tutorial-framework-wip}"
|
BACKEND_REPO="${BACKEND_REPO:-tutorial-framework-wip}"
|
||||||
FRONTEND_REPO="${FRONTEND_REPO:-tutorial-framework-ng}"
|
FRONTEND_REPO="${FRONTEND_REPO:-tutorial-framework-ng}"
|
||||||
BACKEND_PATH="${TAO_PATH}/${BACKEND_REPO}"
|
BACKEND_PATH="${TAO_PATH}/${BACKEND_REPO}"
|
||||||
|
Reference in New Issue
Block a user