Skip to content

Commit 5c056d3

Browse files
committed
Release v0.1.0
1 parent 4d772fb commit 5c056d3

File tree

3 files changed

+32
-1
lines changed

3 files changed

+32
-1
lines changed

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
ROCKSPEC=rockspecs/bint-0.*.rockspec
2+
13
test:
24
lua tests.lua
35
lua examples/simple.lua
@@ -17,4 +19,10 @@ coverage:
1719
clean:
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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ The full API reference and documentation can viewed in the
5353
You 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

5959
Or just copy the `bint.lua` file, the library is self contained in this single file with no dependencies.

rockspecs/bint-0.1.0-1.rockspec

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
}

0 commit comments

Comments
 (0)