Skip to content

Instantly share code, notes, and snippets.

Avatar

Peter Drahoš drahosp

  • Freelance
  • Bratislava, Slovakia
View GitHub Profile
@drahosp
drahosp / luadist.lua
Created Oct 31, 2013
LuaDist interpreter for ZBS 0.39. Unsets LUA_CPATH and LUA_PATH.
View luadist.lua
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 Apr 23, 2012
LuaDist batteries-0.9.1 List of Modules
View modules.txt
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 Oct 3, 2015
Quick LuaDist installation script.
View luadist.sh
#!/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 Apr 1, 2012
Travis-CI Template for LuaDist projects
View .travis.yml
#
# 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 Mar 19, 2011
CMake Macros for LuaDist
View dist.cmake
# 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)