You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77b33260f8
Groups that contained other groups were not recursively resolved by ReadTargets, which prevented output from --print from being useable as a self-contained bake file. This patch ensures that all groups that are referenced inside the bake file are actually defined under the groups field. This has required a substantial refactor, as previously only a single group was returned from ReadTargets, notably, returning a map of groups, instead of a slice. This does introduce a small behavior change to the behavior of --print - while previously, passing a group name to bake would return all the targets of that group back as the default group, now only the name of that group will be inserted into the default group, keeping the original group intact. The impact of this can be observed in some of the changes to the bake_test.go file. Signed-off-by: Justin Chadwell <me@jedevc.com> |
2 years ago | |
---|---|---|
.. | ||
imagetools | 2 years ago | |
bake.go | 2 years ago | |
build.go | 2 years ago | |
create.go | 2 years ago | |
create_test.go | 3 years ago | |
diskusage.go | 3 years ago | |
inspect.go | 2 years ago | |
install.go | 3 years ago | |
ls.go | 3 years ago | |
print.go | 2 years ago | |
prune.go | 2 years ago | |
rm.go | 3 years ago | |
root.go | 3 years ago | |
stop.go | 3 years ago | |
uninstall.go | 3 years ago | |
use.go | 3 years ago | |
util.go | 2 years ago | |
version.go | 3 years ago |