summaryrefslogtreecommitdiff
path: root/tests.build
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2013-12-18 18:33:58 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2014-01-15 17:38:08 +0000
commitb1ae48ff49dcbd34fb9a9a4eac62868b9195f9ef (patch)
tree3a4dbfbcc42fffde59584da650dc05035e47e64b /tests.build
parent623a908220316a8064d3187597b255f5056b1478 (diff)
downloadmorph-b1ae48ff49dcbd34fb9a9a4eac62868b9195f9ef.tar.gz
BuildCommand: Validate multiple root morphologies
When you attempt to build a stratum or chunk, the ArtifactResolver can return multiple root artifacts, since the root source produces multiple artifacts. Rather than having the BuildCommand complain that there's multiple root artifacts, it now validates all the produced artifacts too, since that will validate the kinds of artifacts produced, and give a more useful error message, that you're trying to build a stratum or chunk directly. If all the produced artifacts validate, then an exception is raised to signal that it got multiple artifacts, when it only expected one.
Diffstat (limited to 'tests.build')
0 files changed, 0 insertions, 0 deletions