-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbb.edn
More file actions
14 lines (10 loc) · 646 Bytes
/
bb.edn
File metadata and controls
14 lines (10 loc) · 646 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{:tasks {:requires ([babashka.fs :as fs]
[babashka.tasks :refer [shell]])
dev {:doc "starts a dev environment and repl"
:task (clojure {:dir "."} "-M:dev:repl")}
test {:doc "starts a test environment and repl"
:task (clojure {:dir "."} "-M:test:repl")}
psql-dev {:doc "opens a connection to the development database"
:task (shell "psql -h 0.0.0.0 -d venn_development -U venn")}
psql-test {:doc "opens a connection to the test database"
:task (shell "psql -h 0.0.0.0 -d venn_test -U venn -p 5433")}}}