Liking cljdoc? Tell your friends :D

hara.deploy.maven.command


add-digestclj

(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"}]
raw docstring

cleanclj

(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-)
raw docstring

create-digestclj

(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"}
raw docstring

deployclj

(deploy name
        {:keys [tag skip bulk] :as params}
        linkages
        {:keys [aether deploy] :as project})

deploys a package to a test repo

(deploy 'hara/base -config- ;;(read-config) -collected- (assoc (project/project) :deploy {:signing {:key -config-}} :aether (aether/aether)))

deploys a package to a test repo

(deploy 'hara/base
        -config-   ;;(read-config)
       -collected-
        (assoc (project/project)
               :deploy {:signing {:key -config-}}
               :aether (aether/aether)))
raw docstring

installclj

(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?])
raw docstring

install-secureclj

(install-secure name
                {:keys [skip bulk] :as params}
                linkages
                {:keys [aether deploy] :as project})

installs a package to the local .m2 repository with signing

(install-secure 'hara/object {} -collected- (assoc (project/project) :deploy {:signing {:key -config-}} :aether (aether/aether)))

installs a package to the local `.m2` repository with signing

(install-secure 'hara/object
                {}
               -collected-
                (assoc (project/project)
                       :deploy {:signing {:key -config-}}
                       :aether (aether/aether)))
raw docstring

sign-fileclj

(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"} -config-) => {: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"}
           -config-)
=> {:file "dev/test/hara.deploy/maven.edn.asc"
    :extension "edn.asc"}
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close