Skip to content

Commit

Permalink
devcontainer setup
Browse files Browse the repository at this point in the history
  • Loading branch information
valerauko committed Nov 23, 2024
1 parent 0383697 commit aefb7f5
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions .clj-kondo/imports/babashka/fs/config.edn
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{:lint-as {babashka.fs/with-temp-dir clojure.core/let}}
1 change: 1 addition & 0 deletions .clj-kondo/imports/babashka/sci/config.edn
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{:hooks {:macroexpand {sci.core/copy-ns sci.core/copy-ns}}}
9 changes: 9 additions & 0 deletions .clj-kondo/imports/babashka/sci/sci/core.clj
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
(ns sci.core)

(defmacro copy-ns
([ns-sym sci-ns]
`(copy-ns ~ns-sym ~sci-ns nil))
([ns-sym sci-ns opts]
`[(quote ~ns-sym)
~sci-ns
(quote ~opts)]))
12 changes: 12 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "personal-advent",
"image": "node:lts-alpine",
"onCreateCommand": "apk add git openjdk21",
"postStartCommand": "npm run dev",
"forwardPorts": [
8280,
8290,
8777,
9630
]
}

0 comments on commit aefb7f5

Please sign in to comment.