fb337f8867
* HCL2: allow to skip a named build block too * test that excepting a build block works * test only on a named build block * add/update docs
29 lines
362 B
HCL
29 lines
362 B
HCL
source "file" "chocolate" {
|
|
content = "chocolate"
|
|
target = "chocolate.txt"
|
|
}
|
|
|
|
source "file" "vanilla" {
|
|
content = "vanilla"
|
|
target = "vanilla.txt"
|
|
}
|
|
|
|
source "file" "cherry" {
|
|
content = "cherry"
|
|
target = "cherry.txt"
|
|
}
|
|
|
|
build {
|
|
source "file.cherry" {
|
|
|
|
}
|
|
}
|
|
|
|
build {
|
|
name = "my_build"
|
|
sources = [
|
|
"file.chocolate",
|
|
"file.vanilla",
|
|
]
|
|
}
|