Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Commit

Permalink
Fix. install bit32 library only for Lua 5.1 in rockspec.
Browse files Browse the repository at this point in the history
  • Loading branch information
moteus committed Jun 16, 2013
1 parent ac7bc8d commit daac513
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ install:
- sudo luarocks install lzlib
- sudo luarocks install deps/struct-1.4-1.rockspec
- sudo luarocks install lbase64
- if [ $LUA = "lua5.1" ]; then
sudo luarocks install bit32;
fi
- sudo luarocks make rockspecs/zipwriter-scm-0.rockspec

script: "cd test && lunit.sh -i lua$LUA_SFX test.lua"
Expand Down
2 changes: 1 addition & 1 deletion rockspecs/zipwriter-scm-0.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ description = {
dependencies = {
"lua >= 5.1",
"struct >= 1.2",
"bit32",
"lzlib",
-- "bit32",
-- "luacrypto >= 0.3.0", -- optional to support aes
-- "lua-iconv >= 7.0", -- optional
-- "alien >= 0.7.0", -- optional on windows
Expand Down

0 comments on commit daac513

Please sign in to comment.