diff options
author | irungentoo <irungentoo@gmail.com> | 2013-06-25 06:23:06 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-06-25 06:23:06 -0400 |
commit | b9563fd9e27261ef3d48cb82decfa198e61cca86 (patch) | |
tree | 1696690a4aac096a789929038abf18ba4fbafce6 | |
parent | 8f4a011464483419a7fc00ca27d1b6fd31aa6fb8 (diff) | |
parent | 80be7a7709fb3f4582671ff9bf72489e5e481ec8 (diff) |
Merge branch 'master' of https://github.com/irungentoo/InsertProjectNameHere
-rw-r--r-- | .travis.yml | 17 | ||||
-rw-r--r-- | CMakeLists.txt | 17 | ||||
-rw-r--r-- | testing/muh parser.php | 4 |
3 files changed, 38 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..8918f02d --- /dev/null +++ b/.travis.yml | |||
@@ -0,0 +1,17 @@ | |||
1 | language: c | ||
2 | compiler: | ||
3 | - gcc | ||
4 | |||
5 | script: | ||
6 | - cmake CMakeLists.txt | ||
7 | - make -j3 | ||
8 | |||
9 | notifications: | ||
10 | email: false | ||
11 | |||
12 | irc: | ||
13 | channels: | ||
14 | - "chat.freenode.net#InsertProjectNameHere" | ||
15 | on_success: always | ||
16 | on_failure: always | ||
17 | |||
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 00000000..26f56e4c --- /dev/null +++ b/CMakeLists.txt | |||
@@ -0,0 +1,17 @@ | |||
1 | cmake_minimum_required(VERSION 2.6.0) | ||
2 | project(TOX) | ||
3 | |||
4 | set(core_sources | ||
5 | core/DHT.c) | ||
6 | |||
7 | set(test_sources | ||
8 | testing/DHT_test.c) | ||
9 | |||
10 | add_executable(TOX-app | ||
11 | ${core_sources} | ||
12 | ${test_sources}) | ||
13 | |||
14 | |||
15 | if(WIN32) | ||
16 | target_link_libraries(TOX-app ws2_32) | ||
17 | endif(WIN32) \ No newline at end of file | ||
diff --git a/testing/muh parser.php b/testing/muh parser.php new file mode 100644 index 00000000..9817a807 --- /dev/null +++ b/testing/muh parser.php | |||
@@ -0,0 +1,4 @@ | |||
1 | <?php | ||
2 | $string = file_get_contents("test.json"); | ||
3 | $json_a=json_decode($string,true); | ||
4 | ?> | ||