add structure

This commit is contained in:
vexdevt 2024-05-11 23:46:53 +03:00
parent 0b4578a3e5
commit 4cf38f2002
3 changed files with 15 additions and 0 deletions

View File

@ -1,4 +1,5 @@
# bnyx
DISCLAIMER! Im new to zig. My code is shit or totally chatgpt <br>
a boot image extraction utility, simple enough ( you dont probably need this if you are a eagler developer. ).
bnyx can do basic stuff like :
- print out cmdline

9
build.sh Normal file
View File

@ -0,0 +1,9 @@
# why would you use a bs its just one file
echo "trying something DEVIOUS... ma-LICIOUS.."
if zig build-exe src/bnyx.zig; then
echo "success!"
file ./bnyx
else
echo "it failed :("
fi

5
src/bnyx.zig Normal file
View File

@ -0,0 +1,5 @@
const std = @import("std");
pub fn main() !void {
std.debug.print("Hello World!", .{});
}