(create-keys project-type)
config-path
- the full path to the config file as a stringReturns
:dependencies
for :lein
and :shadow
:deps
for :default
- `config-path` - the full path to the config file as a string Returns - `:dependencies` for `:lein` and `:shadow` - `:deps` for `:default`
(get-project-type config-path)
config-path
- the full path to the config file as a stringReturns
:shadow
for shadow-cljs.edn:lein
for project.clj:default
for everything else- `config-path` - the full path to the config file as a string Returns - `:shadow` for shadow-cljs.edn - `:lein` for project.clj - `:default` for everything else
(parse arg)
Given a dependency string that follows the following schema
[groupID/]artifactID[@version]
Returns a map with the keys :groupID
, :artifactID
, :version
(parse "reagent")
; returns {:groupdID "reagent" :artifactID "reagent" :version nil}
(parse "emotion-cljs@0.2.0"'
; returns {:groupdID "emotion-cljs" :artifactID "emotion-cljs" :version 0.2.0}
Given a dependency string that follows the following schema `[groupID/]artifactID[@version]` Returns a map with the keys `:groupID`, `:artifactID`, `:version` ### Examples: ```clj (parse "reagent") ; returns {:groupdID "reagent" :artifactID "reagent" :version nil} (parse "emotion-cljs@0.2.0"' ; returns {:groupdID "emotion-cljs" :artifactID "emotion-cljs" :version 0.2.0} ```
(xml->map doc)
Converts an xml string into Clojure map structure
Converts an xml string into Clojure map structure
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close