Skip to content

Commit

Permalink
Update build-zig-ape
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbhmr authored Aug 11, 2024
1 parent 0d3aba7 commit 34baefb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions build-zig-ape
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,14 @@ cp zig-freebsd-x86_64-$TAGVER/zig tmp/zig-freebsd-x86_64

mkdir zig-ape-$TAGVER
cosmoc++ -std=c++23 -fexceptions -DTAGVER=\"$TAGVER\" -o zig-ape-$TAGVER/zig zig-ape.cpp

rm zig-ape-$TAGVER/zig.aarch64.elf
rm zig-ape-$TAGVER/zig.com.dbg

mv zig-ape-$TAGVER/zig zig-ape-$TAGVER/zig.zip

cd tmp
7z a ../zig-ape-$TAGVER/zig.zip zig-common zig-windows-x86_64.exe zig-windows-aarch64.exe zig-macos-aarch64 zig-macos-x86_64 zig-linux-x86_64 zig-linux-aarch64 zig-freebsd-x86_64
7z u ../zig-ape-$TAGVER/zig.zip zig-common/ zig-windows-x86_64.exe zig-windows-aarch64.exe zig-macos-aarch64 zig-macos-x86_64 zig-linux-x86_64 zig-linux-aarch64 zig-freebsd-x86_64
cd ..
mv zig-ape-$TAGVER/zig.zip zig-ape-$TAGVER/zig

rm -rf tmp

mv zig-ape-$TAGVER/zig.zip zig-ape-$TAGVER/zig

0 comments on commit 34baefb

Please sign in to comment.