Compare commits
2 commits
45d4991ae2
...
eb227db9c6
Author | SHA1 | Date | |
---|---|---|---|
eb227db9c6 | |||
624652493d |
1 changed files with 10 additions and 19 deletions
29
README.md
29
README.md
|
@ -47,30 +47,21 @@ Build taske looks like this:
|
|||
orchestra/orchestra {:mvn/version "2021.01.01-1"}
|
||||
org.domaindrivenarchitecture/build {:mvn/version "0.1.1-SNAPSHOT"}}
|
||||
:tasks
|
||||
{plan
|
||||
{:init (do (def project {:name "test"
|
||||
:module (first *command-line-args*)
|
||||
:project-root-path "../../.."
|
||||
:build-dir-name "target"
|
||||
:version "4.11.8-dev"
|
||||
:debug true}))
|
||||
plan
|
||||
{:requires ([dda.build.terragrunt :as tg])
|
||||
:task (tg/plan! {:name "test"
|
||||
:module (first *command-line-args*)
|
||||
:project-root-path "../../.."
|
||||
:build-dir-name "target"
|
||||
:version "4.11.8-dev"
|
||||
:debug true})}
|
||||
:task (tg/plan! project)}
|
||||
apply
|
||||
{:requires ([dda.build.terragrunt :as tg])
|
||||
:task (tg/apply! {:name "test"
|
||||
:module (first *command-line-args*)
|
||||
:project-root-path "../../.."
|
||||
:build-dir-name "target"
|
||||
:version "4.11.8-dev"
|
||||
:debug true})}
|
||||
:task (tg/apply! project)}
|
||||
destroy
|
||||
{:requires ([dda.build.terragrunt :as tg])
|
||||
:task (tg/destroy! {:name "test"
|
||||
:module (first *command-line-args*)
|
||||
:project-root-path "../../.."
|
||||
:build-dir-name "target"
|
||||
:version "4.11.8-dev"
|
||||
:debug true})}}}
|
||||
:task (tg/destroy! project)}}}
|
||||
```
|
||||
|
||||
Execute the build
|
||||
|
|
Loading…
Reference in a new issue