1 | # This file is used for testing only
|
2 |
|
3 | # To perform the test, run `cmake .` at the root of the project tree followed
|
4 | # by `ctest .`
|
5 |
|
6 | cmake_minimum_required(VERSION 2.6)
|
7 |
|
8 | # Do not check any compiler
|
9 | project(editorconfig-core-js NONE)
|
10 |
|
11 | set(NODE node CACHE STRING "Node.js command")
|
12 |
|
13 | enable_testing()
|
14 |
|
15 | set(EDITORCONFIG_CMD ${NODE} ${PROJECT_SOURCE_DIR}/dist/bin/editorconfig)
|
16 | add_subdirectory(tests)
|