Update README install/use instructions
This commit is contained in:
parent
74e6beda67
commit
3a55f8dbcc
1 changed files with 3 additions and 4 deletions
|
@ -9,13 +9,12 @@ this time it'll work i promise it wont be like vig plrease
|
|||
```
|
||||
git clone https://gitdab.com/luna/rayoko
|
||||
cd rayoko
|
||||
zig build install --prefix ~/.local/
|
||||
zig build
|
||||
```
|
||||
|
||||
# use
|
||||
|
||||
```
|
||||
rayoko examples/hello.ry # outputs to outpath.o
|
||||
gcc outpath.o examples/hello.c -o hello
|
||||
./hello
|
||||
./zig-cache/bin/rayoko examples/hello.ry
|
||||
./a.out # gives 123 as exit code which i think is epic
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue