From 9f3f366deec411675cc21c2fceaa7ac090d03a4c Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 29 Sep 2018 14:24:03 +0200 Subject: Remove project.tests, always use tests subdir --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index beb2260..59560d7 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,8 @@ Dependencies that are required to build sibs from source are: # IDE support Sibs generates a compile_commands.json in the project root directory when executing `sibs build` and tools that support clang completion can be used, such as YouCompleteMe. There are several editors that support YouCompleteMe, including Vim, Emacs and Visual Studio Code. +# Tests +If your project contains a sub directory called "tests" then that directory will be used a test project. The test directory may contain a project.conf file which can contain \[dependencies] block for specifying test only dependencies. The test automatically includes the parent project as a dependency. # Project configuration template ```toml [package] @@ -43,7 +45,6 @@ type = "library" version = "0.1.0" platforms = ["linux32", "linux64", "win32", "win64"] authors = ["DEC05EBA <0xdec05eba@gmail.com>"] -tests = "tests" include_dirs = ["include"] ignore_dirs = ["examples"] @@ -106,9 +107,6 @@ If platforms contains "any", then other there is no need to specify other platfo ### authors Optional. A list of authors -### tests -Optional. Path which contains tests. The test directory may contain a project.conf file which can contain \[dependencies] block for specifying test only dependencies. The test automatically includes the parent project as a dependency. - ### include_dirs Optional. A list of directories which should be specified as global include directories when compiling. This means that instead of using relative paths to header files, you can include the directory with headers and then you only have to specify the header name when using #include -- cgit v1.2.3