-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Rewrote the Travis-ci integration - Dropped lunit since it does not support Lua 5.3, started using lunitx.
- Loading branch information
Showing
7 changed files
with
78 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package = "StackTracePlus" | ||
version = "0.1.2-1" | ||
source = { | ||
url = "https://github.com/ignacio/StackTracePlus/archive/0.1.2-1.tar.gz", | ||
dir = "StackTracePlus-0.1.2-1" | ||
} | ||
description = { | ||
summary = "StackTracePlus provides enhanced stack traces for Lua", | ||
detailed = [[ | ||
StackTracePlus can be used as a replacement for debug.traceback. It gives detailed information about locals, tries to guess | ||
function names when they're not available, etc. | ||
]], | ||
license = "MIT/X11", | ||
homepage = "http://github.com/ignacio/StackTracePlus" | ||
} | ||
|
||
dependencies = { "lua >= 5.1, < 5.4" } | ||
|
||
build = { | ||
type = "builtin", | ||
modules = { | ||
StackTracePlus = "src/StackTracePlus.lua" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/bin/bash -e | ||
|
||
if [ $LUA = "luajit" ]; then | ||
if [ $LUAJIT_VER = "2.0" ]; then | ||
sudo add-apt-repository ppa:mwild1/ppa -y && sudo apt-get update -y; | ||
fi | ||
if [ $LUAJIT_VER = "2.1" ]; then | ||
sudo add-apt-repository ppa:neomantra/luajit-v2.1 -y && sudo apt-get update -y; | ||
fi | ||
fi | ||
|
||
if [[ $LUA = "lua5.3" ]]; then | ||
LUA_V="5.3.0" | ||
wget "http://www.lua.org/ftp/lua-${LUA_V}.tar.gz" | ||
tar xf "lua-${LUA_V}.tar.gz" | ||
pushd "lua-${LUA_V}" | ||
make linux | ||
sudo make install | ||
popd | ||
else | ||
sudo apt-get install $LUA | ||
sudo apt-get install $LUA_DEV | ||
fi | ||
lua$LUA_SFX -v | ||
# Install a recent luarocks release | ||
wget http://luarocks.org/releases/$LUAROCKS_BASE.tar.gz | ||
tar zxvpf $LUAROCKS_BASE.tar.gz | ||
pushd $LUAROCKS_BASE | ||
# esto quedo medio feo | ||
if [[ $LUA = "lua5.3" ]]; then | ||
./configure --lua-version=$LUA_VER --with-lua-include="$LUA_INCDIR" | ||
else | ||
./configure --lua-version=$LUA_VER --lua-suffix=$LUA_SFX --with-lua-include="$LUA_INCDIR" | ||
fi | ||
make build && sudo make install | ||
popd | ||
cd $TRAVIS_BUILD_DIR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters