Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
theseyan committed Aug 13, 2022
1 parent f24abe4 commit 8f31d43
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,17 @@ bkg is written in Zig and compilation is fairly straightforward. The prerequisit

```console
# Clone the repository and update submodules
git clone https://github.com/theseyan/bkg && cd bkg
git submodule update --init --recursive
$ git clone https://github.com/theseyan/bkg && cd bkg
$ git submodule update --init --recursive

# Build for x86_64-linux
zig build -Drelease-fast -target x86_64-linux
$ zig build -Drelease-fast -target x86_64-linux

# [Optional] Build runtime for x86_64-linux
zig build-exe -target x86_64-linux src/bkg_runtime.zig -lc deps/lz4/lib/lz4.c deps/microtar/src/microtar.c --pkg-begin known-folders deps/known-folders/known-folders.zig --pkg-end
$ zig build-exe -target x86_64-linux src/bkg_runtime.zig -lc deps/lz4/lib/lz4.c deps/microtar/src/microtar.c --pkg-begin known-folders deps/known-folders/known-folders.zig --pkg-end

# Run bkg
./zig-out/bin/bkg --help
$ ./zig-out/bin/bkg --help
```

# Todo
Expand Down

0 comments on commit 8f31d43

Please sign in to comment.