Skip to content

fix: check folder names against package names more carefully#4029

Open
mcdurdin wants to merge 1 commit into
masterfrom
fix/16093-check-folder-more-carefully
Open

fix: check folder names against package names more carefully#4029
mcdurdin wants to merge 1 commit into
masterfrom
fix/16093-check-folder-more-carefully

Conversation

@mcdurdin

Copy link
Copy Markdown
Member

Fail if there exists a folder without a corresponding .kps file. Ignore empty folders or folders that contain only build/ subfolder, as these tend to get left around when switching branches.

Fixes: keymanapp/keyman#16093

Fail if there exists a folder without a corresponding .kps file. Ignore
empty folders or folders that contain only build/ subfolder, as these
tend to get left around when switching branches.

Fixes: keymanapp/keyman#16093
fi
else
(find "$target" -maxdepth 2 -type d -wholename "$target"'/*/*' | grep -vE '^(release/packages|release/shared|release/template)' || true) >> build_targets_temp.txt
(find "$target" -maxdepth 2 -type d -wholename "$target"'/*/*' | grep -vE '^(experimental/shared|release/packages|release/shared|release/template)' || true) >> build_targets_temp.txt

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Skip also experimental/shared/fonts folder

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Comment at top of file needs to be updated

fi
else
(find "$target" -maxdepth 2 -type d -wholename "$target"'/*/*' | grep -vE '^(release/packages|release/shared|release/template)' || true) >> build_targets_temp.txt
(find "$target" -maxdepth 2 -type d -wholename "$target"'/*/*' | grep -vE '^(experimental/shared|release/packages|release/shared|release/template)' || true) >> build_targets_temp.txt

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Comment at top of file needs to be updated

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(developer): filename and pathname checks in keyboard repo build did not catch U+200F in folder name

2 participants