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

Commit 3f7270c

Browse files
committed
Imported from archive, added CMake build
0 parents  commit 3f7270c

20 files changed

+4873
-0
lines changed

.travis.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
#
2+
# LuaDist Travis-CI Hook
3+
#
4+
5+
# We assume C build environments
6+
language: C
7+
8+
# Try using multiple Lua Implementations
9+
env:
10+
- TOOL="gcc" # Use native compiler (GCC usually)
11+
- TOOL="clang" # Use clang
12+
- TOOL="i686-w64-mingw32" # 32bit MinGW
13+
- TOOL="x86_64-w64-mingw32" # 64bit MinGW
14+
- TOOL="arm-linux-gnueabihf" # ARM hard-float (hf), linux
15+
16+
# Crosscompile builds may fail
17+
matrix:
18+
allow_failures:
19+
- env: TOOL="i686-w64-mingw32"
20+
- env: TOOL="x86_64-w64-mingw32"
21+
- env: TOOL="arm-linux-gnueabihf"
22+
23+
# Install dependencies
24+
install:
25+
- git clone git://github.com/LuaDist/Tools.git ~/_tools
26+
- ~/_tools/travis/travis install
27+
28+
# Bootstap
29+
before_script:
30+
- ~/_tools/travis/travis bootstrap
31+
32+
# Build the module
33+
script:
34+
- ~/_tools/travis/travis build
35+
36+
# Execute additional tests or commands
37+
after_script:
38+
- ~/_tools/travis/travis test
39+
40+
# Only watch the master branch
41+
branches:
42+
only:
43+
- master
44+
45+
# Notify the LuaDist Dev group if needed
46+
notifications:
47+
recipients:
48+
- luadist-dev@googlegroups.com
49+
email:
50+
on_success: change
51+
on_failure: always

CMakeLists.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Copyright (C) 2007-2013 LuaDist.
2+
# Created by Peter Drahos, Peter Kapec
3+
# Redistribution and use of this file is allowed according to the terms of the MIT license.
4+
# For details see the COPYRIGHT file distributed with LuaDist.
5+
# Please note that the package source code is licensed under its own license.
6+
7+
project ( asklua NONE )
8+
cmake_minimum_required ( VERSION 2.8 )
9+
include ( cmake/dist.cmake )
10+
include ( lua )
11+
12+
install_lua_module ( ask ask.lua )
13+
install_doc ( doc/ )
14+
install_example ( example/ )
15+
install_data ( license.txt readme.txt )

0 commit comments

Comments
 (0)