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

Commit

Permalink
Imported from archive, added CMake build
Browse files Browse the repository at this point in the history
  • Loading branch information
drahosp committed Feb 19, 2013
0 parents commit 3f7270c
Show file tree
Hide file tree
Showing 20 changed files with 4,873 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
#
# LuaDist Travis-CI Hook
#

# We assume C build environments
language: C

# Try using multiple Lua Implementations
env:
- TOOL="gcc" # Use native compiler (GCC usually)
- TOOL="clang" # Use clang
- TOOL="i686-w64-mingw32" # 32bit MinGW
- TOOL="x86_64-w64-mingw32" # 64bit MinGW
- TOOL="arm-linux-gnueabihf" # ARM hard-float (hf), linux

# Crosscompile builds may fail
matrix:
allow_failures:
- env: TOOL="i686-w64-mingw32"
- env: TOOL="x86_64-w64-mingw32"
- env: TOOL="arm-linux-gnueabihf"

# Install dependencies
install:
- git clone git://github.com/LuaDist/Tools.git ~/_tools
- ~/_tools/travis/travis install

# Bootstap
before_script:
- ~/_tools/travis/travis bootstrap

# Build the module
script:
- ~/_tools/travis/travis build

# Execute additional tests or commands
after_script:
- ~/_tools/travis/travis test

# Only watch the master branch
branches:
only:
- master

# Notify the LuaDist Dev group if needed
notifications:
recipients:
- [email protected]
email:
on_success: change
on_failure: always
15 changes: 15 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright (C) 2007-2013 LuaDist.
# Created by Peter Drahos, Peter Kapec
# 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.

project ( asklua NONE )
cmake_minimum_required ( VERSION 2.8 )
include ( cmake/dist.cmake )
include ( lua )

install_lua_module ( ask ask.lua )
install_doc ( doc/ )
install_example ( example/ )
install_data ( license.txt readme.txt )
Loading

0 comments on commit 3f7270c

Please sign in to comment.