Skip to content
Snippets Groups Projects
Commit 97448c8d authored by Elliott Shugerman's avatar Elliott Shugerman
Browse files

misc

parent ca33f1bc
No related branches found
No related tags found
No related merge requests found
;;; Directory Local Variables -*- no-byte-compile: t -*-
;;; For more information see (info "(emacs) Directory Variables")
((nil . ((eval . (advice-add 'inf-janet-project-root
:filter-return (lambda (path)
(f-join path "test"))))))
((nil . ((eval .
;; TODO: make this local to the project somehow
(advice-add 'inf-janet-project-root
:filter-return (lambda (path)
(f-join path "test"))))))
(sh-mode . ((sh-basic-offset . 2))))
use flake
# create .env but don't source it (to keep local environment
# consistent with ci). docker-compose will load it.
if [ ! -f .env ]; then
cp example.env .env
fi
# do not actually source .env to keep local environment
# consistent with the CI environment
jpm_tree_path="$(expand_path ./jpm_tree)"
......@@ -16,8 +15,10 @@ export JANET_BINPATH="$jpm_tree_path/bin"
# where janet loads stuff from
export JANET_PATH="$JANET_MODPATH"
mkdir $jpm_tree_path
mkdir $JANET_MODPATH
mkdir $JANET_BINPATH
mkdir -p $jpm_tree_path
mkdir -p $JANET_MODPATH
mkdir -p $JANET_BINPATH
PATH_add $JANET_BINPATH
jpm deps
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