-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathjustfile
More file actions
30 lines (24 loc) 路 1.02 KB
/
Copy pathjustfile
File metadata and controls
30 lines (24 loc) 路 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
f:
taplo fmt
cargo +nightly fmt --all -- --error-on-unformatted --unstable-features
c:
taplo check
cargo clippy --workspace -- -D warnings
r:
cargo run -- --performance-overlay ./Cargo.lock Cargo.toml
# Build and install the Flatpak locally
flatpak:
cd flatpak && flatpak-builder --user --install --force-clean build-dir io.marc.valin.yml
# Build the Flatpak and export to a local OSTree repo (flatpak/repo/)
flatpak-repo:
cd flatpak && flatpak-builder --repo=repo --force-clean build-dir io.marc.valin.yml
flatpak build-update-repo flatpak/repo/
# Run the locally installed Flatpak
flatpak-run:
flatpak run io.marc.valin
# Install Flatpak SDK/runtime prerequisites (one-time setup)
flatpak-setup:
sudo apt install -y flatpak flatpak-builder
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install -y flathub org.freedesktop.Platform//24.08 org.freedesktop.Sdk//24.08
flatpak install -y flathub org.freedesktop.Sdk.Extension.rust-stable//24.08