Skip to content

Commit 712cbee

Browse files
committed
remove cmocka from submodules and update docs
1 parent 981fd5e commit 712cbee

File tree

6 files changed

+7
-18
lines changed

6 files changed

+7
-18
lines changed

.gitmodules

-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
[submodule "test/lib/cmocka"]
2-
path = test/lib/cmocka
3-
url = git://git.cryptomilk.org/projects/cmocka.git

.travis.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ branches:
3737
- master
3838

3939
script:
40-
- sh ./build-deps.sh
4140
- sh ./autogen.sh
4241
- if [[ "$CC" == "gcc" && "$CODE_COVERAGE" == "ON" ]]; then
4342
./configure CFLAGS="-ftest-coverage -fprofile-arcs";
@@ -49,7 +48,7 @@ script:
4948

5049
after_success:
5150
- if [[ "$CC" == "gcc" && "$CODE_COVERAGE" == "ON" ]]; then
52-
pip install --user cpp-coveralls &&
51+
pip install --user cpp-coveralls &&
5352
coveralls
5453
--build-root .
5554
--exclude lib
@@ -58,5 +57,5 @@ after_success:
5857
--verbose;
5958
fi
6059

61-
after_failure:
62-
- cat ./test-suite.log
60+
# after_failure:
61+
# - cat ./test-suite.log

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# CONTRIBUTING
22

3-
Any contributions (code, documentation, ...) are welcome. This project uses [cmocka](http://cmocka.org) for testing, you may need to check their documentation
3+
Any contributions (code, documentation, ...) are welcome.
44

55
# New Features
66
- This library may not accept all new features, it is better to create an issue and get approval before coding
77
- You must add test for every new feature
8-
- The feature must be compiled in both UNIX/POSIX systems (e.g. macos, linux...) and Windows
8+
- The feature must be compiled on both UNIX/POSIX systems (e.g. macos, linux...) and Windows
99

1010
# Code Style
1111
This library is written with C99, don't try to add C++ files (yes it can compiled into lib),

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ $ sh autogen.sh
138138
$ ./configure
139139
$ make
140140
$ make check # [Optional]
141-
$ [sudo] make install
141+
$ [sudo] make install # [Optional]
142142
```
143143

144144
This will also install pkg-config files so you can use

docs/source/build.rst

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
Build cglm
22
================================
33

4-
| **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.
5-
6-
External dependencies:
7-
* cmocka - for unit testing
4+
| **cglm** does not have any external dependencies.
85
96
**NOTE:**
107
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):
1613
.. code-block:: bash
1714
:linenos:
1815
19-
$ sh ./build-deps.sh # run this only once (dependencies)
20-
2116
$ sh autogen.sh
2217
$ ./configure
2318
$ make
@@ -65,4 +60,3 @@ Example build:
6560
6661
$ cd cglm/docs
6762
$ sphinx-build source build
68-

test/lib/cmocka

-1
This file was deleted.

0 commit comments

Comments
 (0)