Compare commits

...

1 Commits

Author SHA1 Message Date
Adrien Delorme
7fe1008323 make the only/except example & test consistent 2020-06-24 15:40:04 +02:00
3 changed files with 6 additions and 6 deletions

View File

@ -42,13 +42,13 @@ build {
} }
post-processor "shell-local" { post-processor "shell-local" {
only = ["vanilla"] only = ["sources.file.vanilla"]
name = "tomato" name = "tomato"
inline = [ "echo apple > tomato.txt" ] inline = [ "echo apple > tomato.txt" ]
} }
post-processor "shell-local" { post-processor "shell-local" {
only = ["chocolate"] only = ["sources.file.chocolate"]
inline = [ "echo apple > unnamed.txt" ] inline = [ "echo apple > unnamed.txt" ]
} }
} }

View File

@ -7,10 +7,10 @@ build {
] ]
post-processor "amazon-import" { post-processor "amazon-import" {
only = ["virtualbox-iso.ubuntu-1204"] only = ["source.virtualbox-iso.ubuntu-1204"]
} }
post-processor "manifest" { post-processor "manifest" {
except = ["virtualbox-iso.ubuntu-1204"] except = ["source.virtualbox-iso.ubuntu-1204"]
} }
} }

View File

@ -7,10 +7,10 @@ build {
] ]
provisioner "shell" { provisioner "shell" {
only = ["virtualbox-iso.ubuntu-1204"] only = ["source.virtualbox-iso.ubuntu-1204"]
} }
provisioner "file" { provisioner "file" {
except = ["virtualbox-iso.ubuntu-1204"] except = ["source.virtualbox-iso.ubuntu-1204"]
} }
} }