summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-06-25 06:23:06 -0400
committerirungentoo <irungentoo@gmail.com>2013-06-25 06:23:06 -0400
commitb9563fd9e27261ef3d48cb82decfa198e61cca86 (patch)
tree1696690a4aac096a789929038abf18ba4fbafce6
parent8f4a011464483419a7fc00ca27d1b6fd31aa6fb8 (diff)
parent80be7a7709fb3f4582671ff9bf72489e5e481ec8 (diff)
Merge branch 'master' of https://github.com/irungentoo/InsertProjectNameHere
-rw-r--r--.travis.yml17
-rw-r--r--CMakeLists.txt17
-rw-r--r--testing/muh parser.php4
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 @@
1language: c
2compiler:
3 - gcc
4
5script:
6 - cmake CMakeLists.txt
7 - make -j3
8
9notifications:
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 @@
1cmake_minimum_required(VERSION 2.6.0)
2project(TOX)
3
4set(core_sources
5 core/DHT.c)
6
7set(test_sources
8 testing/DHT_test.c)
9
10add_executable(TOX-app
11 ${core_sources}
12 ${test_sources})
13
14
15if(WIN32)
16 target_link_libraries(TOX-app ws2_32)
17endif(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?>