Skip to content

Commit

Permalink
Try to update the rockspec
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffleyland committed Sep 6, 2016
1 parent a91f5f3 commit 2644cc9
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ install:
- luarocks install busted
- luarocks install luacov
- luarocks install luacov-coveralls
- luarocks install ljsyscall
- luarocks make rockspecs/mmapfile-scm-2.rockspec

script:
- luacheck src-lua
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ before_build:
- luarocks install busted

build_script:
- dir
- luarocks make rockspecs/mmapfile-scm-2.rockspec

test_script:
- busted .
33 changes: 33 additions & 0 deletions rockspecs/mmapfile-scm-2.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package = "mmapfile"
version = "scm-2"
source =
{
url = "git://github.com/geoffleyland/lua-mmapfile.git",
branch = "master",
}
description =
{
summary = "Simple memory-mapped files",
homepage = "http://github.com/geoffleyland/lua-mmapfile",
license = "MIT/X11",
maintainer = "Geoff Leyland <geoff.leyland@incremental.co.nz>"
}
dependencies =
{
'lua == 5.1', -- should be "luajit >= 2.0.0"
platforms =
{
linux = { 'ljsyscall >= 0.9' },
macosx = { 'ljsyscall >= 0.9' },
}
}
build =
{
type = "builtin",
modules =
{
mmapfile = "src-lua/mmapfile.lua",
["mmapfile.unix"] = "src-lua/mmapfile/unix.lua",
["mmapfile.windows"] = "src-lua/mmapfile/windows.lua",
},
}

0 comments on commit 2644cc9

Please sign in to comment.