mirror of
https://github.com/hashicorp/packer.git
synced 2026-05-28 04:35:38 -04:00
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.
6 lines
132 B
HCL
6 lines
132 B
HCL
// a source represents a reusable setting for a system boot/start.
|
|
source "nonexistent" "ubuntu-1204" {
|
|
foo = "bar"
|
|
}
|
|
|
|
build {}
|