project-format: add outputType property (beta-3.0) #483
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
update project files (again)
update project files
This updates project files (leftovers) to latest project format.
project-format: add outputType property
This adds a new, optional, "outputType" property to specify what kind
of project it is, supporting the following values initially:
"uno build" will report a warning if attempting to build a test-
project, which should be built using "uno test" instead.
"uno doctor" will check this property when searching for projects, and
skip projects that are not "library" or undefined. Will report a
warning if "outputType" is missing.
"uno test" will check this property when searching for projects, and
skip projects that are not "test" or have a name ending in "Test"
(1.x and 2.x-compatible). Will report a warning if "outputType" is
missing.
Backends will know what to build based on "outputType" so passing e.g.
-DLIBRARY to "uno build" is no longer necessary.
engine: update strings
Update some strings related to the lowerCamelCase refactoring.
engine: update ProjectGroup
Most of these should be identical to Identifier now, so this adds a
default implemention of ProjectGroup, and removes redundant
implementations.