From fa3c6a5fde1d4709f0bc585552b5df895a37366e Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Mon, 14 Sep 2015 21:11:04 +0200 Subject: [PATCH] [DEV] update Build interface --- .travis.yml | 2 +- README.md | 4 ++-- lutin_exml.py | 17 +++++++++++++++-- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index f51e6ed..250dd0b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,7 +41,7 @@ before_script: - if [ "$BUILDER" == "gcc" ]; then COMPILATOR_OPTION="--compilator-version=4.9"; else COMPILATOR_OPTION=""; fi script: - - lutin -C -P -j4 -w -c $BUILDER $COMPILATOR_OPTION $GCOV -m $CONF -p exml-test + - lutin -w -j4 -C -P -c $BUILDER $COMPILATOR_OPTION -m $CONF $GCOV -p exml-test after_script: - if [ "$GCOV" != "" ]; then python ./warning_send.py --find-path ./out/Linux_x86_64/$CONF/build/$BUILDER/exml/ ; fi diff --git a/README.md b/README.md index 7a34ea5..5817e0c 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,9 @@ exml [![Coverage Status](http://atria-soft.com/ci/coverage/atria-soft/exml.svg?branch=master)](http://atria-soft.com/ci/atria-soft/exml) -[![Coverage Status](http://atria-soft.com/ci/test/atria-soft/exml.svg?branch=master)](http://atria-soft.com/ci/atria-soft/exml) +[![Test Status](http://atria-soft.com/ci/test/atria-soft/exml.svg?branch=master)](http://atria-soft.com/ci/atria-soft/exml) -[![Coverage Status](http://atria-soft.com/ci/warning/atria-soft/exml.svg?branch=master)](http://atria-soft.com/ci/atria-soft/exml) +[![Warning Status](http://atria-soft.com/ci/warning/atria-soft/exml.svg?branch=master)](http://atria-soft.com/ci/atria-soft/exml) Instructions diff --git a/lutin_exml.py b/lutin_exml.py index 759e216..44418ca 100644 --- a/lutin_exml.py +++ b/lutin_exml.py @@ -23,9 +23,22 @@ def create(target): 'exml/Document.cpp', 'exml/Element.cpp', 'exml/Node.cpp', - 'exml/Text.cpp']) + 'exml/Text.cpp' + ]) - myModule.add_export_path(tools.get_current_path(__file__)) + myModule.add_header_file([ + 'exml/exml.h', + 'exml/Attribute.h', + 'exml/AttributeList.h', + 'exml/Comment.h', + 'exml/Declaration.h', + 'exml/Document.h', + 'exml/Element.h', + 'exml/Node.h', + 'exml/Text.h' + ]) + + myModule.add_path(tools.get_current_path(__file__)) # add the currrent module at the return myModule