Skip to content

Commit 000495a

Browse files
committed
build(flatpak): enforce LF line endings and clean up build manifest
- Add `.gitattributes` to ensure Flatpak packaging files use Unix LF line endings to prevent parsing errors in `flatpak-builder`. - Remove debug `ls` and `find` commands from the Flatpak build manifest.
1 parent e49e4a9 commit 000495a

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Flatpak packaging files must use Unix LF line endings
2+
# (flatpak-builder on Linux can't parse JSON with CRLF)
3+
packaging/flatpak/*.json text eol=lf
4+
packaging/flatpak/*.yml text eol=lf
5+
packaging/flatpak/*.sh text eol=lf

packaging/flatpak/zed.rainxch.githubstore.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ modules:
4949
JAVA_HOME: /usr/lib/sdk/openjdk21
5050
GRADLE_USER_HOME: /run/build/githubstore/.gradle
5151
build-commands:
52-
# Debug: list what's in the build directory
53-
- ls -la && echo "---" && ls -la gradle/wrapper/ || echo "gradle/wrapper/ NOT FOUND" && find . -name "gradle-wrapper.properties" -maxdepth 4 2>/dev/null || true
5452
# Use local Gradle distribution (no network needed)
5553
- sed -i 's|distributionUrl=.*|distributionUrl=gradle-bin.zip|' gradle/wrapper/gradle-wrapper.properties
5654
# Rewrite settings.gradle.kts files to use offline Maven repository

0 commit comments

Comments
 (0)