This repository has been archived by the owner on Nov 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Imported from archive, added CMake build
- Loading branch information
0 parents
commit 3f7270c
Showing
20 changed files
with
4,873 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ) |
Oops, something went wrong.