Update Build
I used the most dumb way to compile binarys. BUT IT WORKED.
This commit is contained in:
parent
3870b608f3
commit
fd8912f1df
3 changed files with 32 additions and 4 deletions
16
.gitignore
vendored
16
.gitignore
vendored
|
@ -1,2 +1,18 @@
|
|||
.zig-cache/
|
||||
zig-out/
|
||||
#Temp Build
|
||||
aturkri-linux-aarch64
|
||||
aturkri-linux-aarch64.o
|
||||
aturkri-linux-x86
|
||||
aturkri-linux-x86_64
|
||||
aturkri-linux-x86_64.o
|
||||
aturkri-linux-x86.o
|
||||
aturkri-windows-aarch64.exe
|
||||
aturkri-windows-aarch64.exe.obj
|
||||
aturkri-windows-aarch64.pdb
|
||||
aturkri-windows-x86_64.exe
|
||||
aturkri-windows-x86_64.exe.obj
|
||||
aturkri-windows-x86_64.pdb
|
||||
aturkri-windows-x86.exe
|
||||
aturkri-windows-x86.exe.obj
|
||||
aturkri-windows-x86.pdb
|
12
README
12
README
|
@ -2,6 +2,8 @@
|
|||
aturkri: A Project Name Generator
|
||||
==========
|
||||
|
||||
THIS IS AN ZIG 0.13.0 PROJECT. THERE IS NO PLAN TO UPGRADE TO ZIG 0.14.0 SINCE IT REMOVED std.rand!
|
||||
|
||||
How to build:
|
||||
|
||||
zig build --release=fast
|
||||
|
@ -10,8 +12,10 @@ How to use:
|
|||
|
||||
/path/to/binary [count]
|
||||
|
||||
How to release manually:
|
||||
|
||||
./build
|
||||
|
||||
I'm tired to make a github action to do this. I can do this manually.
|
||||
|
||||
This thing is so dumb that I won't maintain it only if I need to add more syllables.
|
||||
|
||||
TODO:
|
||||
|
||||
- [ ] Cross-compile many binarys and release them
|
||||
|
|
8
build
Executable file
8
build
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
zig build-exe -Doptimize=ReleaseSafe -static -target x86-linux-musl --name aturkri-linux-x86 src/main.zig
|
||||
zig build-exe -Doptimize=ReleaseSafe -static -target x86_64-linux-musl --name aturkri-linux-x86_64 src/main.zig
|
||||
zig build-exe -Doptimize=ReleaseSafe -static -target aarch64-linux-musl --name aturkri-linux-aarch64 src/main.zig
|
||||
zig build-exe -Doptimize=ReleaseSafe -static -target x86-windows --name aturkri-windows-x86 src/main.zig
|
||||
zig build-exe -Doptimize=ReleaseSafe -static -target x86_64-windows --name aturkri-windows-x86_64 src/main.zig
|
||||
zig build-exe -Doptimize=ReleaseSafe -static -target aarch64-windows --name aturkri-windows-aarch64 src/main.zig
|
||||
echo "Finished Build"
|
Loading…
Add table
Reference in a new issue