Skip to content

chore(developer): only build source files 🦕#9985

Merged
mcdurdin merged 1 commit intomasterfrom
chore/developer/9948-only-build-source-files
Nov 15, 2023
Merged

chore(developer): only build source files 🦕#9985
mcdurdin merged 1 commit intomasterfrom
chore/developer/9948-only-build-source-files

Conversation

@mcdurdin
Copy link
Copy Markdown
Member

@mcdurdin mcdurdin commented Nov 13, 2023

Relates to #9948.

For batch builds (e.g. project/compile all) of v2.0 projects, we only want to build files that are listed in the project's $SOURCEPATH, so that the project can contain extra folders with source file types that won't break a project-level build.

Any source file types in extra folders can still be built one-by-one, which is helpful for investigation and test for keyboard authors, but will not be built if project build is selected.

This commit also formalizes the source/ SourcePath for upgraded projects which contain a source/ folder. If the project to be upgraded does not contain the source/ folder, then no SourcePath is assigned, and any source file in any folder will be built.

@keymanapp-test-bot skip

For batch builds (e.g. project/compile all) of v2.0 projects, we only
want to build files that are listed in the project's $SOURCEPATH, so
that the project can contain extra folders with source file types that
won't break a project-level build.

Any source file types in extra folders can still be built one-by-one,
which is helpful for investigation and test for keyboard authors, but
will not be built if project build is selected.

This commit also formalizes the source/ SourcePath for upgraded projects
which contain a source/ folder. If the project to be upgraded does not
contain the source/ folder, then no SourcePath is assigned, and any
source file in any folder will be built.
@keymanapp-test-bot
Copy link
Copy Markdown

keymanapp-test-bot bot commented Nov 13, 2023

User Test Results

Test specification and instructions

User tests are not required

Test Artifacts

@keymanapp-test-bot keymanapp-test-bot bot added this to the A17S26 milestone Nov 13, 2023
@mcdurdin mcdurdin changed the title chore(developer): only build source files chore(developer): only build source files 🦕 Nov 13, 2023
Copy link
Copy Markdown
Contributor

@darcywong00 darcywong00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Base automatically changed from feat/developer/9948-project-settings-20-form to master November 15, 2023 02:47
@mcdurdin mcdurdin merged commit 16bea34 into master Nov 15, 2023
@mcdurdin mcdurdin deleted the chore/developer/9948-only-build-source-files branch November 15, 2023 02:48
@keyman-server
Copy link
Copy Markdown
Collaborator

Changes in this pull request will be available for download in Keyman version 17.0.211-alpha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants