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
|
git clone https://gitdab.com/luna/rayoko
|
||||||
cd rayoko
|
cd rayoko
|
||||||
zig build install --prefix ~/.local/
|
zig build
|
||||||
```
|
```
|
||||||
|
|
||||||
# use
|
# use
|
||||||
|
|
||||||
```
|
```
|
||||||
rayoko examples/hello.ry # outputs to outpath.o
|
./zig-cache/bin/rayoko examples/hello.ry
|
||||||
gcc outpath.o examples/hello.c -o hello
|
./a.out # gives 123 as exit code which i think is epic
|
||||||
./hello
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue