Skip to content
Snippets Groups Projects
Commit bfdd08e2 authored by François  LAURENT's avatar François LAURENT
Browse files

seek for backends in the project root dir per default

parent 82a28828
No related branches found
No related tags found
No related merge requests found
Pipeline #83116 passed
......@@ -37,7 +37,8 @@ docker build -t "${LARVATAGGER_IMAGE}:dev" -f recipes/Dockerfile.local ${DOCKER_
elif [ "$BUILD" == "--stable" ]; then
docker build -t "${LARVATAGGER_IMAGE}:stable" -f recipes/Dockerfile ${DOCKER_ARGS}.
else
docker build -t "${LARVATAGGER_IMAGE}:latest" -f recipes/Dockerfile ${DOCKER_ARGS}--build-arg BRANCH=dev .
if [ -z "$LARVATAGGER_DEFAULT_BRANCH" ]; then LARVATAGGER_DEFAULT_BRANCH=dev; fi
docker build -t "${LARVATAGGER_IMAGE}:latest" -f recipes/Dockerfile ${DOCKER_ARGS}--build-arg BRANCH=$LARVATAGGER_DEFAULT_BRANCH .
fi
#rm -rf ./external
;;
......
......@@ -25,8 +25,10 @@ function JSServe.jsrender(session::Session, ev::EditorView)
class="flex flex-row"))
end
projectdir = dirname(Base.active_project())
function larvaeditor(path=nothing; allow_multiple_tags::Union{Nothing, Bool}=nothing,
backend_directory::String=".")
backend_directory::String=projectdir)
# to (re-)load a file, the app is reloaded with the filepath as sole information
# from previous session
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment