~zaspire/cordova-ubuntu-tests/disable-more-tests

1
2
3
4
5
6
7
8
9
10
11
12
13
cmake_minimum_required(VERSION 2.8.8)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}")

project(cordova-ubuntu-tests)

install (DIRECTORY ${CMAKE_SOURCE_DIR}/www DESTINATION share/cordova-ubuntu-tests/cordovamobilespec)
install (FILES ${CMAKE_SOURCE_DIR}/cordova-ubuntu-tests.desktop DESTINATION share/applications/)
install (FILES ${CMAKE_SOURCE_DIR}/cordovaqt64.png DESTINATION share/cordova-ubuntu-tests)

add_custom_target(autopilot ALL
 COMMAND cd $(CMAKE_SOURCE_DIR)/tests/autopilot &&
         python setup.py install --root=$(CMAKE_SOURCE_DIR)/debian/tmp/ --install-layout=deb)