configure project once
This commit is contained in:
parent
3b3b7a660a
commit
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"}
|
orchestra/orchestra {:mvn/version "2021.01.01-1"}
|
||||||
org.domaindrivenarchitecture/build {:mvn/version "0.1.1-SNAPSHOT"}}
|
org.domaindrivenarchitecture/build {:mvn/version "0.1.1-SNAPSHOT"}}
|
||||||
:tasks
|
: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])
|
{:requires ([dda.build.terragrunt :as tg])
|
||||||
:task (tg/plan! {:name "test"
|
:task (tg/plan! project)}
|
||||||
:module (first *command-line-args*)
|
|
||||||
:project-root-path "../../.."
|
|
||||||
:build-dir-name "target"
|
|
||||||
:version "4.11.8-dev"
|
|
||||||
:debug true})}
|
|
||||||
apply
|
apply
|
||||||
{:requires ([dda.build.terragrunt :as tg])
|
{:requires ([dda.build.terragrunt :as tg])
|
||||||
:task (tg/apply! {:name "test"
|
:task (tg/apply! project)}
|
||||||
:module (first *command-line-args*)
|
|
||||||
:project-root-path "../../.."
|
|
||||||
:build-dir-name "target"
|
|
||||||
:version "4.11.8-dev"
|
|
||||||
:debug true})}
|
|
||||||
destroy
|
destroy
|
||||||
{:requires ([dda.build.terragrunt :as tg])
|
{:requires ([dda.build.terragrunt :as tg])
|
||||||
:task (tg/destroy! {:name "test"
|
:task (tg/destroy! project)}}}
|
||||||
:module (first *command-line-args*)
|
|
||||||
:project-root-path "../../.."
|
|
||||||
:build-dir-name "target"
|
|
||||||
:version "4.11.8-dev"
|
|
||||||
:debug true})}}}
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Execute the build
|
Execute the build
|
||||||
|
|
Loading…
Reference in a new issue