Skip to content

Commit

Permalink
Build devel manifest with access to crates.io
Browse files Browse the repository at this point in the history
There's no point in keeping cargo-sources.json up to date just to keep
Devel builds going; regular CI builds also have network access.
  • Loading branch information
swsnr committed Dec 23, 2024
1 parent ec98e9d commit fe35a23
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions flatpak/de.swsnr.turnon.Devel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ modules:
- name: turnon
buildsystem: simple
sources:
- cargo-sources.json
- type: dir
path: ".."
build-options:
build-args:
- --share=network
build-commands:
# Point cargo to vendored sources downloaded by flatpak builder
- install -Dm0644 cargo/config .cargo/config.toml
# Patch for devel version
- make devel
# Build optimized binary
- cargo build --frozen --release --verbose
- cargo build --locked --release --verbose
# Install locales
- make LOCALEDIR=/app/share/locale/ APPID=de.swsnr.turnon.Devel install-locale
# Install binary, app icon, desktop file, appstream metadata, DBus service, and search provider
Expand Down

0 comments on commit fe35a23

Please sign in to comment.