diff --git a/.gitmodules b/.gitmodules index 4a3bbdc..e69de29 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +0,0 @@ -[submodule "test/lib/cmocka"] - path = test/lib/cmocka - url = git://git.cryptomilk.org/projects/cmocka.git diff --git a/.travis.yml b/.travis.yml index 9f2a546..b4b2df0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,7 +37,6 @@ branches: - master script: - - sh ./build-deps.sh - sh ./autogen.sh - if [[ "$CC" == "gcc" && "$CODE_COVERAGE" == "ON" ]]; then ./configure CFLAGS="-ftest-coverage -fprofile-arcs"; @@ -49,7 +48,7 @@ script: after_success: - if [[ "$CC" == "gcc" && "$CODE_COVERAGE" == "ON" ]]; then - pip install --user cpp-coveralls && + pip install --user cpp-coveralls && coveralls --build-root . --exclude lib @@ -58,5 +57,5 @@ after_success: --verbose; fi -after_failure: - - cat ./test-suite.log +# after_failure: +# - cat ./test-suite.log diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 567642d..f25a6ab 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,11 +1,11 @@ # CONTRIBUTING -Any contributions (code, documentation, ...) are welcome. This project uses [cmocka](http://cmocka.org) for testing, you may need to check their documentation +Any contributions (code, documentation, ...) are welcome. # New Features - This library may not accept all new features, it is better to create an issue and get approval before coding - You must add test for every new feature -- The feature must be compiled in both UNIX/POSIX systems (e.g. macos, linux...) and Windows +- The feature must be compiled on both UNIX/POSIX systems (e.g. macos, linux...) and Windows # Code Style This library is written with C99, don't try to add C++ files (yes it can compiled into lib), diff --git a/README.md b/README.md index bfc2e0d..624d18c 100644 --- a/README.md +++ b/README.md @@ -138,7 +138,7 @@ $ sh autogen.sh $ ./configure $ make $ make check # [Optional] -$ [sudo] make install +$ [sudo] make install # [Optional] ``` This will also install pkg-config files so you can use diff --git a/docs/source/build.rst b/docs/source/build.rst index c725ab4..c62fe0c 100644 --- a/docs/source/build.rst +++ b/docs/source/build.rst @@ -1,10 +1,7 @@ Build cglm ================================ -| **cglm** does not have external dependencies except for unit testing. When you pulled **cglm** repo with submodules all dependencies will be pulled too. `build-deps.sh` will pull all dependencies/submodules and build for you. - -External dependencies: - * cmocka - for unit testing +| **cglm** does not have any external dependencies. **NOTE:** If you only need to inline versions, you don't need to build **cglm**, you don't need to link it to your program. @@ -16,8 +13,6 @@ Unix (Autotools): .. code-block:: bash :linenos: - $ sh ./build-deps.sh # run this only once (dependencies) - $ sh autogen.sh $ ./configure $ make @@ -65,4 +60,3 @@ Example build: $ cd cglm/docs $ sphinx-build source build - diff --git a/test/lib/cmocka b/test/lib/cmocka deleted file mode 160000 index 5f61d2f..0000000 --- a/test/lib/cmocka +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 5f61d2f188b0254f6ad74f9d9f84705923ece1fd