Functions exposing user-level configuration.
Functions exposing user-level configuration.
(credentials-fn)
(credentials-fn file)
Decrypt map from credentials.clj.gpg in Leiningen home if present.
Decrypt map from credentials.clj.gpg in Leiningen home if present.
(getenv name)
Wrap System/getenv for testing purposes.
Wrap System/getenv for testing purposes.
(getprop prop-name)
Wrap System/getProperty for testing purposes.
Wrap System/getProperty for testing purposes.
(gpg & args)
Shells out to (gpg-program) with the given arguments
Shells out to (gpg-program) with the given arguments
(gpg-available?)
Verifies (gpg-program) exists
Verifies (gpg-program) exists
(gpg-program)
Lookup the gpg program to use, defaulting to 'gpg'
Lookup the gpg program to use, defaulting to 'gpg'
Load the user's ~/.lein/init.clj file, if present.
Load the user's ~/.lein/init.clj file, if present.
(leiningen-home)
Return full path to the user's Leiningen home directory.
Return full path to the user's Leiningen home directory.
Load profiles.clj from dir if present. Tags all profiles with its origin.
Load profiles.clj from dir if present. Tags all profiles with its origin.
(profile-auth settings)
Look up credentials for a given repository in :auth profile.
Look up credentials for a given repository in :auth profile.
Load profiles.clj from your Leiningen home and profiles.d if present.
Load profiles.clj from your Leiningen home and profiles.d if present.
Load all Clojure files from the profiles.d folder in your Leiningen home if present. Returns a seq with map entries of the different profiles.
Load all Clojure files from the profiles.d folder in your Leiningen home if present. Returns a seq with map entries of the different profiles.
(resolve-credentials settings)
Applies credentials from the environment or ~/.lein/credentials.clj.gpg as they are specified and available.
Applies credentials from the environment or ~/.lein/credentials.clj.gpg as they are specified and available.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close