You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using alembic in just a lein repl without a project.clj is a little bit cumbersome, as i have to add repositories or alembic fails due to not finding project.clj
Agreed! I can't find any other way around this, if I'm using an anonymous REPL, not associated with any project.clj:
;; What I have to do currently
(require 'alembic.still)
(alembic.still/distill
'[clj-time "0.13.0"]
:repositories [
["central" {:url"https://repo1.maven.org/maven2/":snapshotsfalse}]
["clojars" {:url"https://clojars.org/repo/"}]]
)
(require '[clj-time.core :as t]
'[clj-time.coerce :as c])
;; ----------------------------------------------------;; What I'd like to be able to do
(require 'alembic.still)
(alembic.still/distill
'[clj-time "0.13.0"])
(require '[clj-time.core :as t]
'[clj-time.coerce :as c])
using alembic in just a lein repl without a project.clj is a little bit cumbersome, as i have to add repositories or alembic fails due to not finding project.clj
could alembic not fall back to use leiningen.core.project/default-repositories
or is it possible to define some defaults in a user profile?
The text was updated successfully, but these errors were encountered: