File tree Expand file tree Collapse file tree 3 files changed +32
-1
lines changed
Expand file tree Collapse file tree 3 files changed +32
-1
lines changed Original file line number Diff line number Diff line change 1+ ROCKSPEC =rockspecs/bint-0.*.rockspec
2+
13test :
24 lua tests.lua
35 lua examples/simple.lua
@@ -17,4 +19,10 @@ coverage:
1719clean :
1820 rm -f * .out
1921
22+ install :
23+ luarocks make --local $(ROCKSPEC )
24+
25+ upload :
26+ luarocks upload --api-key=$(LUAROCKS_APIKEY ) $(ROCKSPEC )
27+
2028.PHONY : test docs coverage clean
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ The full API reference and documentation can viewed in the
5353You can use luarocks to install quickly:
5454
5555``` bash
56- luarocks install https://raw.githubusercontent.com/edubart/lua- bint/master/rockspecs/bint-dev-1.rockspec
56+ luarocks install bint
5757```
5858
5959Or just copy the ` bint.lua ` file, the library is self contained in this single file with no dependencies.
Original file line number Diff line number Diff line change 1+ package = " bint"
2+ version = " 0.1.0-1"
3+ source = {
4+ url = " git://github.com/edubart/lua-bint.git" ,
5+ tag = " v0.1.0"
6+ }
7+ description = {
8+ summary = " Arbitrary precision integer arithmetic library in pure Lua" ,
9+ detailed = [[ Small portable arbitrary precision integer arithmetic library in pure Lua for
10+ computing with large integers.
11+ ]] ,
12+ homepage = " https://github.com/edubart/lua-bint" ,
13+ license = " MIT"
14+ }
15+ dependencies = {
16+ " lua >= 5.3" ,
17+ }
18+ build = {
19+ type = " builtin" ,
20+ modules = {
21+ [' bint' ] = ' bint.lua' ,
22+ }
23+ }
You can’t perform that action at this time.
0 commit comments