packer/command/test-fixtures/hcl/validation/map
Lucas Bajolet a298617ecb command/build: warn and exit when nothing to build
When a `packer build' is run on a config that does not define anything
to be built, the process would run normally, and only state that no
artifacts were produced after builds were run successfully.

This is misleading as we reach the end of the command without having a
proper warning that nothing was even attempted to be built.

This commit adds a warning when that happens, and leaves immediately
after.
2022-09-13 15:58:28 -04:00
..
definition.pkr.hcl command/build: warn and exit when nothing to build 2022-09-13 15:58:28 -04:00
invalid_value.pkrvars.hcl add command/ tests 2020-11-02 15:50:38 +01:00
valid_value.pkrvars.hcl add command/ tests 2020-11-02 15:50:38 +01:00