deploy code deployment

Author: Chris Zheng  (z@caudate.me)
Date: 27 November 2018
Repository: https://github.com/zcaudate/hara
Version: 3.0.2

1    Introduction

hara.deploy allows for deployment of artifacts to maven.

1.1    Installation

Add to project.clj dependencies:

[hara/deploy "3.0.2"]

All functions are in the hara.deploy namespace.

 (use (quote hara.deploy))

2    API



clean ^

cleans the interim directory of packages

v 3.0
(definvoke clean
  [:task {:template :deploy.linkage
          :params {:title "CLEAN ALL INTERIM FILES"}
          :main {:fn #'command/clean}}])
link
(clean :all {:print {:item false :result false :summary false}})

deploy ^

deploys packages to a maven repository

v 3.0
(definvoke deploy
  [:task {:template :deploy.maven
          :params {:title "DEPLOY PACKAGES"}
          :main {:fn #'command/deploy}}])
link
(deploy '[hara] {:tag :public})

install ^

installs packages to the local `.m2` repository

v 3.0
(definvoke install
  [:task {:template :deploy.maven
            :params {:title "INSTALL PACKAGES"}
          :main {:fn #'command/install}}])
link
(install '[hara] {:tag :public})

install-secure ^

installs signed packages to the local `.m2` repository

v 3.0
(definvoke install-secure
  [:task {:template :deploy.maven
          :params {:title "INSTALL SIGNED PACKAGES"}
          :main {:fn #'command/install-secure}}])
link
(install-secure '[hara] {:tag :public})

linkage ^

creates linkages for project

v 3.0
(definvoke linkage
  [:task {:template :deploy.linkage
          :params {:title "CREATES ALL LINKAGE FILES"}
          :main {:fn #'package/linkage}}])
link
(linkage :all {:print {:item false :result false :summary false}})

package ^

packages files in the interim directory

v 3.0
(definvoke package
  [:task {:template :deploy.package
          :params {:title "PACKAGE INTERIM FILES"}
          :main {:fn #'package/package}}])
link
(package '[hara] {:tag :public :print {:item false :result false :summary false}})