Skip to content

Commit

Permalink
Add release recipe to Justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFunctionalGuy committed Nov 1, 2023
1 parent 6848a30 commit 4ca27ba
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
_default:
@just --list

# Convert statement from LATIN9 encoding to UTF8 encoding
convert FILE:
iconv -f LATIN9 -t UTF8 {{FILE}} -o {{without_extension(FILE)}}_utf8.{{extension(FILE)}}

_build_release:
zig build release-artifacts

_pack_release:
zip zig-out/release/comdirect-spending-calculator-x86_64-windows.zip zig-out/release/comdirect-spending-calculator.exe
tar czf zig-out/release/comdirect-spending-calculator-x86_64-linux.tar.gz zig-out/release/comdirect-spending-calculator

# Create and pack release artifacts
release:
just _build_release
just _pack_release

0 comments on commit 4ca27ba

Please sign in to comment.