Skip to content

Commit 091d04b

Browse files
attt
1 parent 7706cb2 commit 091d04b

File tree

2 files changed

+25
-9
lines changed

2 files changed

+25
-9
lines changed

README.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,26 @@
11
# LuaSilverChain
2-
a SilverChain Lua Wrapper
2+
a [SilverChain](https://github.com/OUIsolutions/SilverChain) Lua Wrapper
3+
4+
# Install
5+
6+
for installation just type
7+
```shell
8+
curl -L https://github.com/OUIsolutions/LuaSilverChain/releases/download/0.001/LuaSilverChain.zip -o LuaSilverChain.zip && unzip LuaSilverChain.zip && rm LuaSilverChain.zip
9+
10+
```
11+
12+
# Usage
13+
you can use the lib following these example
14+
15+
```lua
16+
---@type SilverChainModue
17+
silverchain = require("LuaSilverChain")
18+
silverchain.generate({
19+
src = "src",
20+
project_short_cut = "my_project_name",
21+
tags = { "dependencies", "consts", "macros", "types" ,"globals", "fdeclare" ,"fdef" }
22+
implement_main=true,
23+
main_name="main.c"
24+
})
25+
26+
```

teste.lua

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)