configure project once

This commit is contained in:
Michael Jerger 2024-08-06 17:57:51 +02:00
parent 3b3b7a660a
commit 624652493d

View file

@ -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