Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Postgres Backup S3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Circles
Postgres Backup S3
Commits
97448c8d
Commit
97448c8d
authored
1 year ago
by
Elliott Shugerman
Browse files
Options
Downloads
Patches
Plain Diff
misc
parent
ca33f1bc
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.dir-locals.el
+5
-3
5 additions, 3 deletions
.dir-locals.el
test/.envrc
+7
-6
7 additions, 6 deletions
test/.envrc
with
12 additions
and
9 deletions
.dir-locals.el
+
5
−
3
View file @
97448c8d
;;; 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
))))
This diff is collapsed.
Click to expand it.
test/.envrc
+
7
−
6
View file @
97448c8d
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment