(coordinate->tree coord)
creates a coordinate tree entry
(coordinate->tree '[im.chit/hara "0.1.1"]) => [:dependency [:groupId "im.chit"] [:artifactId "hara"] [:version "0.1.1"]]
creates a coordinate tree entry (coordinate->tree '[im.chit/hara "0.1.1"]) => [:dependency [:groupId "im.chit"] [:artifactId "hara"] [:version "0.1.1"]]
(generate-manifest root)
(generate-manifest root {:keys [simulate]})
creates a manifest.mf file for the project
(generate-manifest "dev/scratch") => "MANIFEST.MF"
creates a manifest.mf file for the project (generate-manifest "dev/scratch") => "MANIFEST.MF"
(generate-pom entry root)
(generate-pom entry root {:keys [simulate]})
generates a pom file given an entry
(-> (generate-pom {:artifact "hara.function.task" :group "hara" :version "3.0.1"} "dev/scratch") (update-in [0] html/tree))
generates a pom file given an entry (-> (generate-pom {:artifact "hara.function.task" :group "hara" :version "3.0.1"} "dev/scratch") (update-in [0] html/tree))
(infer name {:keys [interim] :as params} _ {:keys [root version]})
returns the infered items for a given name
(infer 'hara/image nil -collected- {:root "." :version "3.0.1"}) => (contains {:package 'hara/image, :jar "hara-image-3.0.1.jar", :pom "hara-image-3.0.1.pom.xml", :interim (str (fs/file "./target/interim/hara/image")),})
returns the infered items for a given name (infer 'hara/image nil -collected- {:root "." :version "3.0.1"}) => (contains {:package 'hara/image, :jar "hara-image-3.0.1.jar", :pom "hara-image-3.0.1.pom.xml", :interim (str (fs/file "./target/interim/hara/image")),})
(license->tree {:keys [name url]})
creates a license tree entry
(license->tree {:name "MIT" :url "http/mit.license"}) => [:license [:name "MIT"] [:url "http/mit.license"]]
creates a license tree entry (license->tree {:name "MIT" :url "http/mit.license"}) => [:license [:name "MIT"] [:url "http/mit.license"]]
(linkage name _ linkages _)
returns the linkage for a given name
(linkage 'hara/base nil -collected- nil) => (contains {:name 'hara/base})
returns the linkage for a given name (linkage 'hara/base nil -collected- nil) => (contains {:name 'hara/base})
(package name
{:keys [simulate interim] :as opts}
linkages
{:keys [root version] :as project})
returns the packaged items for a given name
(package 'hara/image {} -collected- {:root "." :version "3.0.1"}) => (contains {:package 'hara/image, :jar "hara-image-3.0.1.jar", :pom "hara-image-3.0.1.pom.xml", :interim (str (fs/file "./target/interim/hara/image")), :files (contains ["MANIFEST.MF" "META-INF/maven/hara/image/pom.xml" "META-INF/maven/hara/image/pom.properties"])})
returns the packaged items for a given name (package 'hara/image {} -collected- {:root "." :version "3.0.1"}) => (contains {:package 'hara/image, :jar "hara-image-3.0.1.jar", :pom "hara-image-3.0.1.pom.xml", :interim (str (fs/file "./target/interim/hara/image")), :files (contains ["MANIFEST.MF" "META-INF/maven/hara/image/pom.xml" "META-INF/maven/hara/image/pom.properties"])})
(pom-properties entry)
creates a pom.properties file
(pom-properties (project/project)) ;; "# hara.deploy\n# Sun Oct 14 22:57:11 CST 2018\nversion=3.0.1\ngroupId=hara\nartifactId=base" => string?
creates a pom.properties file (pom-properties (project/project)) ;; "# hara.deploy\n# Sun Oct 14 22:57:11 CST 2018\nversion=3.0.1\ngroupId=hara\nartifactId=base" => string?
(pom-xml {:keys [dependencies repositories url group artifact version name
description licenses]})
creates a pom.properties file
(->> (pom-xml '{:description "task execution of and standardization", :name hara/hara.function.task, :artifact "hara.function.task", :group "hara", :version "3.0.1", :dependencies [[hara/hara.core "3.0.1"] [hara/hara.data "3.0.1"]]}) (html/tree))
creates a pom.properties file (->> (pom-xml '{:description "task execution of and standardization", :name hara/hara.function.task, :artifact "hara.function.task", :group "hara", :version "3.0.1", :dependencies [[hara/hara.core "3.0.1"] [hara/hara.data "3.0.1"]]}) (html/tree))
(repository->tree [id repository])
creates a repository tree entry
(repository->tree ["clojars" "https://clojars.org/repo"]) => [:repository [:id "clojars"] [:url "https://clojars.org/repo"] [:snapshots [:enabled "true"]] [:releases [:enabled "true"]]]
creates a repository tree entry (repository->tree ["clojars" "https://clojars.org/repo"]) => [:repository [:id "clojars"] [:url "https://clojars.org/repo"] [:snapshots [:enabled "true"]] [:releases [:enabled "true"]]]
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close