diff --git a/packaging/flatpak/net.catcrafts.CrafterBuild.metainfo.xml b/packaging/flatpak/net.catcrafts.CrafterBuild.metainfo.xml index 3e638bd..33429c4 100644 --- a/packaging/flatpak/net.catcrafts.CrafterBuild.metainfo.xml +++ b/packaging/flatpak/net.catcrafts.CrafterBuild.metainfo.xml @@ -26,6 +26,20 @@ + + +

New

+
    +
  • A project.cpp can describe several configurations that need not have anything to do with each other, such as a library and the tool that comes with it, or the programs of one repository. It defines CrafterBuildConfigurations, which returns a pointer to each of them, in place of CrafterBuildProject, which returns one configuration as before. crafter-build builds all of them in one pass, and one that fails does not stop the others. test runs the tests and run offers the scripts of every one the file made itself, -r runs the executable when exactly one of them is one, and install and bundle export the one that is packaged as a Flatpak; with more than one to choose from they stop and name them. The README's new "Several configurations" section has the details.
  • +
  • A GitProject or LocalProject spec picks one of a sibling's configurations by its name with .configuration, and gets the first one without it.
  • +
+

Fixes

+
    +
  • A project loaded through GitProject or LocalProject keeps the pointers its project.cpp took to the Configuration it returns, as a test declared with cfg.AddTest("T").Dependencies({ &cfg }) holds one. The loader moved that Configuration after the project file had returned it, which left such a pointer dangling, and crafter-build lint followed it for a sibling inside the project's own directory when a rule needed an AST.
  • +
  • A wasm32 library that two configurations of one build are built on is built once when its project.cpp sets the target without calling ApplyStandardArgs. The directories such a library is built into had one name until its build started and another from then on, so a configuration that asked for the library after that did not find the build already under way and started a second one.
  • +
+
+

New