1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2025-06-28 10:45:13 +00:00

Modify resource's directory structure

This commit is contained in:
R. Richard
2019-08-15 17:04:27 +02:00
parent 11b3ac8eef
commit 9fd3520910
3 changed files with 7 additions and 17 deletions

View File

@ -38,7 +38,7 @@ challenge::run() {
local mount_volumes
if [[ "${HOTRELOAD:-0}" == "1" ]]; then
if [[ -d "${BASEIMAGE_PATH}" ]]; then
mount_baseimage="-v ${BASEIMAGE_PATH}/tfw:/usr/local/lib/tfw"
mount_baseimage="-e HOTRELOAD=1 -v ${BASEIMAGE_PATH}/tfw:/usr/local/lib/tfw"
fi
mount_challenge="-v ${CHALLENGE_PATH}/solvable/src:/.tfw/builtin_event_handlers"
mount_volumes="${mount_baseimage:-} ${mount_challenge}"