Skip to content

Commit 4ca27ba

Browse files
Add release recipe to Justfile
1 parent 6848a30 commit 4ca27ba

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Justfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
_default:
22
@just --list
33

4+
# Convert statement from LATIN9 encoding to UTF8 encoding
45
convert FILE:
56
iconv -f LATIN9 -t UTF8 {{FILE}} -o {{without_extension(FILE)}}_utf8.{{extension(FILE)}}
7+
8+
_build_release:
9+
zig build release-artifacts
10+
11+
_pack_release:
12+
zip zig-out/release/comdirect-spending-calculator-x86_64-windows.zip zig-out/release/comdirect-spending-calculator.exe
13+
tar czf zig-out/release/comdirect-spending-calculator-x86_64-linux.tar.gz zig-out/release/comdirect-spending-calculator
14+
15+
# Create and pack release artifacts
16+
release:
17+
just _build_release
18+
just _pack_release

0 commit comments

Comments
 (0)