(add-digest artifacts)
adds MD5 and SHA1 digests to all artifacts
(add-digest [{:file "dev/test/hara.deploy/maven.edn" :extension "edn"}]) => [{:file "dev/test/hara.deploy/maven.edn.md5", :extension "edn.md5"} {:file "dev/test/hara.deploy/maven.edn", :extension "edn"}]
adds MD5 and SHA1 digests to all artifacts (add-digest [{:file "dev/test/hara.deploy/maven.edn" :extension "edn"}]) => [{:file "dev/test/hara.deploy/maven.edn.md5", :extension "edn.md5"} {:file "dev/test/hara.deploy/maven.edn", :extension "edn"}]
(clean name {:keys [simulate interim] :as params} linkages project)
cleans the interim directory
(def -args- ['hara/object nil -collected- (project/project)])
(apply package/package -args-)
(apply clean -args-)
cleans the interim directory (def -args- ['hara/object nil -collected- (project/project)]) (apply package/package -args-) (apply clean -args-)
(create-digest algorithm suffix {:keys [file extension] :as artifact})
creates a digest given a file and a digest type
(create-digest "MD5" "md5" {:file "dev/test/hara.deploy/maven.edn" :extension "edn"}) => {:file "dev/test/hara.deploy/maven.edn.md5", :extension "edn.md5"}
creates a digest given a file and a digest type (create-digest "MD5" "md5" {:file "dev/test/hara.deploy/maven.edn" :extension "edn"}) => {:file "dev/test/hara.deploy/maven.edn.md5", :extension "edn.md5"}
(deploy name
{:keys [tag skip bulk digest] :as params}
linkages
{:keys [aether deploy] :as project})
deploys a package to a test repo
(deploy 'hara/base {:tag :dev} ;;(read-config) -collected- (assoc (project/project) :deploy (config/load "config/deploy.edn") :aether (aether/aether)))
deploys a package to a test repo (deploy 'hara/base {:tag :dev} ;;(read-config) -collected- (assoc (project/project) :deploy (config/load "config/deploy.edn") :aether (aether/aether)))
(install name
{:keys [skip bulk] :as params}
linkages
{:keys [aether] :as project})
installs a package to the local .m2
repository
(install 'hara/object {} -collected- (assoc (project/project) :version "3.0.1" :aether (aether/aether))) ;; ['hara:object:jar:3.0.1 'hara:object:pom:3.0.1] => (contains [artifact/rep? artifact/rep?])
installs a package to the local `.m2` repository (install 'hara/object {} -collected- (assoc (project/project) :version "3.0.1" :aether (aether/aether))) ;; ['hara:object:jar:3.0.1 'hara:object:pom:3.0.1] => (contains [artifact/rep? artifact/rep?])
(prepare-artifacts {:keys [jar pom interim] :as rep}
{:keys [secure digest] :as params}
{:keys [deploy] :as project})
prepares the files for deployment
(prepare-artifacts {:pom "dev/test/hara.deploy/sample.pom" :jar "dev/test/hara.deploy/sample.jar" :interim ""} {:secure true :digest true} {:deploy {:signing {:key -key-}}})
prepares the files for deployment (prepare-artifacts {:pom "dev/test/hara.deploy/sample.pom" :jar "dev/test/hara.deploy/sample.jar" :interim ""} {:secure true :digest true} {:deploy {:signing {:key -key-}}})
(sign-file {:keys [file extension]}
{:keys [suffix public private] :as params :or {suffix "asc"}})
signs a file with gpg
(sign-file {:file "dev/test/hara.deploy/maven.edn" :extension "edn"} -key-) => {:file "dev/test/hara.deploy/maven.edn.asc" :extension "edn.asc"}
signs a file with gpg (sign-file {:file "dev/test/hara.deploy/maven.edn" :extension "edn"} -key-) => {:file "dev/test/hara.deploy/maven.edn.asc" :extension "edn.asc"}
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close