mirror of
https://github.com/hulthe/inkopslista.git
synced 2026-08-04 07:21:27 +02:00
15 lines
404 B
Bash
15 lines
404 B
Bash
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
cd "$(dirname 0)"
|
|
CARGO_TARGET_DIR="${CARGO_TARGET_DIR:-../../target}"
|
|
|
|
# TODO: cross compilation with cross --target=aarch64-unknown-linux-gnu
|
|
cargo b -r
|
|
|
|
cp "$CARGO_TARGET_DIR/release/inkopslista" inköpslista
|
|
|
|
# TODO: cross compilation with --arch=aarch64
|
|
flatpak-builder -v --force-clean --user --install-deps-from=flathub --repo=repo --install builddir sh.nubo.Inkopslista.yml
|