summaryrefslogtreecommitdiff
path: root/example/engine.ninja
diff options
context:
space:
mode:
Diffstat (limited to 'example/engine.ninja')
-rw-r--r--example/engine.ninja11
1 files changed, 4 insertions, 7 deletions
diff --git a/example/engine.ninja b/example/engine.ninja
index 3e6c6f3..3c53218 100644
--- a/example/engine.ninja
+++ b/example/engine.ninja
@@ -5,7 +5,7 @@
rule engine-yaml-to-ninja
command = engine ninja
-build engine.ninja: engine.yaml
+build engine.ninja: engine-yaml-to-ninja engine.yaml
### engine.png
@@ -22,35 +22,32 @@ build engine.png: dot-to-png engine.dot
# Jobs
rule acme
- command=engine run $name $inputs $output_state $agenda_group $modules
+ command=engine run $name $inputs $output_state $output_includes $generated_output $agenda_groups $modules
build db/acme.yaml: acme
name=--name acme
output_state=--output-state db/acme.yaml
- agenda_group=
modules=$
--module=foo $
--module=bar
rule acme-apps
- command=engine run $name $inputs $output_state $agenda_group $modules
+ command=engine run $name $inputs $output_state $output_includes $generated_output $agenda_groups $modules
build db/acme-apps.yaml: acme-apps db/acme.yaml
name=--name acme-apps
inputs=$
--input=db/acme.yaml
output_state=--output-state db/acme-apps.yaml
- agenda_group=
rule acme-wireguard
- command=engine run $name $inputs $output_state $agenda_group $modules
+ command=engine run $name $inputs $output_state $output_includes $generated_output $agenda_groups $modules
build db/acme-wireguard.yaml: acme-wireguard db/acme.yaml
name=--name acme-wireguard
inputs=$
--input=db/acme.yaml
output_state=--output-state db/acme-wireguard.yaml
- agenda_group=
modules=$
--module=foo $
--module=$$MODULE_HOME/bar