Skip to content

Instantly share code, notes, and snippets.

View drahosp's full-sized avatar

Peter Drahoš drahosp

  • Freelance
  • Bratislava, Slovakia
View GitHub Profile
@drahosp
drahosp / luadist.lua
Created October 31, 2013 14:30
LuaDist interpreter for ZBS 0.39. Unsets LUA_CPATH and LUA_PATH.
local exe
local function exePath()
local defaultPath = ide.config.path.luadist or "C:\\LuaDist\\bin\\"
return MergeFullPath(defaultPath, 'lua.exe')
end
return {
name = "LuaDist",
description = "LuaDist interpreter",
@drahosp
drahosp / modules.txt
Created April 23, 2012 10:25
LuaDist batteries-0.9.1 List of Modules
alien-0.5.1
batteries-0.9.1
cd-5.4.1
cdlua-5.4.1
copas-1.1.6
coxpcall-1.13.0
curl-7.21.5
gzio-1.1.1
im-3.6.3
imlua-3.6.3
@drahosp
drahosp / luadist.sh
Last active October 3, 2015 04:48
Quick LuaDist installation script.
#!/usr/bin/env bash
# Obtain needed dependencies
cmake --version >/dev/null 2>&1 || { echo >&2 "CMake is required, please install CMake (www.cmake.org). On Ubuntu run: sudo apt-get install cmake build-essential. Aborting."; exit 1; }
git --version >/dev/null 2>&1 || { echo >&2 "Git is required, please install Git. On Ubuntu run: sudo apt-get install git. Aborting."; exit 1; }
# Clone the repo
git clone --recursive git://github.com/LuaDist/bootstrap.git _bootstrap
# Make sure LUA_CPATH and LUA_PATH are not set
@drahosp
drahosp / .travis.yml
Created April 1, 2012 19:45
Travis-CI Template for LuaDist projects
#
# LuaDist Travis-CI Hook
#
# Since CMake is not directly supported we use erlang VMs
language: erlang
# Try using multiple Lua Implementations
env:
- LUA="" # Use automatic dependencies
@drahosp
drahosp / dist.cmake
Created March 19, 2011 00:33
CMake Macros for LuaDist
# LuaDist CMake utility library.
# Provides variables and utility functions common to LuaDist CMake builds.
#
# Copyright (C) 2007-2011 LuaDist.
# by David Manura, Peter Drahos
# Redistribution and use of this file is allowed according to the terms of the MIT license.
# For details see the COPYRIGHT file distributed with LuaDist.
# Please note that the package source code is licensed under its own license.
## INSTALL DEFAULTS (Relative to CMAKE_INSTALL_PREFIX)