Skip to content

Commit

Permalink
remove debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
leafo committed Oct 25, 2014
1 parent 2261245 commit 2bcecfc
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
3 changes: 1 addition & 2 deletions bin/compile
Expand Up @@ -36,7 +36,6 @@ if [ "$ENV" != "local" ]; then
export PATH=$OPT_DIR/$STACK:$PATH
echo "site_config.LUA_INCDIR=[[$OPT_DIR/../include]]" >> $SITE_CONFIG
echo "site_config.LUA_LIBDIR=[[$OPT_DIR/../lib/$STACK/]]" >> $SITE_CONFIG
cat $SITE_CONFIG
else
LUA=lua5.1
fi
Expand All @@ -55,5 +54,5 @@ if [[ -z "$ROCKSPEC" ]]; then
exit 1
fi

$LUA "$OPT_DIR/prepare.lua" $ROCKSPEC $OPT_DIR 2>&1 # | indent
$LUA "$OPT_DIR/prepare.lua" $ROCKSPEC $OPT_DIR 2>&1 | indent

4 changes: 0 additions & 4 deletions opt/prepare.lua
Expand Up @@ -41,10 +41,6 @@ local rockspec = {
dependencies = { }
}
setfenv(fn, rockspec)()
local config = require("luarocks.site_config")
for k, v in pairs(config) do
print("CONFIG", k, v)
end
local path = require("luarocks.path")
local deps = require("luarocks.deps")
local install = require("luarocks.install")
Expand Down
4 changes: 0 additions & 4 deletions opt/prepare.moon
Expand Up @@ -38,10 +38,6 @@ rockspec = {
}
setfenv(fn, rockspec)!

config = require"luarocks.site_config"
for k, v in pairs config
print "CONFIG", k, v

path = require"luarocks.path"
deps = require"luarocks.deps"
install = require"luarocks.install"
Expand Down

0 comments on commit 2bcecfc

Please sign in to comment.