File tree 5 files changed +26
-12
lines changed
5 files changed +26
-12
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- " targets" : [
2
+ ' targets' : [
3
3
{
4
4
# unit testing library
5
- " target_name" : " CppUnitLite" ,
6
- " type" : " static_library" ,
7
- " sources" : [
8
- " src/Failure.cpp" ,
9
- " src/SimpleString.cpp" ,
10
- " src/Test.cpp" ,
11
- " src/TestResult.cpp" ,
12
- " src/TestRegistry.cpp"
5
+ ' target_name' : ' CppUnitLite' ,
6
+ ' type' : ' static_library' ,
7
+ ' sources' : [
8
+ ' src/Failure.cpp' ,
9
+ ' src/SimpleString.cpp' ,
10
+ ' src/Test.cpp' ,
11
+ ' src/TestResult.cpp' ,
12
+ ' src/TestRegistry.cpp'
13
13
],
14
- "include_dirs" : [
15
- "./CppUnitLite"
14
+ 'include_dirs' : [
15
+ './CppUnitLite'
16
+ ]
17
+ },
18
+ {
19
+ 'target_name' : 'test' ,
20
+ 'type' : 'executable' ,
21
+ 'dependencies' : [
22
+ 'CppUnitLite'
23
+ ],
24
+ 'sources' : [
25
+ 'test/StackMain.cpp' ,
26
+ 'test/StackTest.cpp' ,
27
+ ],
28
+ 'include_dirs' : [
29
+ '.'
16
30
]
17
31
},
18
32
]
Original file line number Diff line number Diff line change 5
5
"main" : " include_dirs.js" ,
6
6
"scripts" : {
7
7
"install" : " node-gyp rebuild" ,
8
- "test" : " echo \" Error: no test specified \" && exit 1 "
8
+ "test" : " build/Release/ test"
9
9
},
10
10
"repository" : {
11
11
"type" : " git" ,
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments