Skip to content

Commit

Permalink
[*] support build apk on nixos
Browse files Browse the repository at this point in the history
  • Loading branch information
heng30 committed Jul 23, 2024
1 parent 414f0ef commit 49c0d5e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ build-release:
$(build-evn) cargo apk build --lib --release
cp -f target/release/apk/rssbox.apk target/rssbox-${version}.apk

build-release-nixos:
nix-shell -p steam-run --run "$(build-evn) steam-run cargo apk build --lib --release"
cp -f target/release/apk/rssbox.apk target/rssbox-${version}.apk

build-release-mold:
$(build-evn) mold --run cargo apk build --lib --release
cp -f target/release/apk/rssbox.apk target/rssbox-${version}.apk
Expand Down

0 comments on commit 49c0d5e

Please sign in to comment.