diff --git a/.gitignore b/.gitignore index 0d20b64..69d3c2c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,6 @@ *.pyc +__pycache__ +.bck +out +target +build diff --git a/GLD_estyle-test.json b/GLD_estyle-test.json new file mode 100644 index 0000000..7e3e4c4 --- /dev/null +++ b/GLD_estyle-test.json @@ -0,0 +1,56 @@ +{ + "type":"BINARY", + "sub-type":"TEST", + "group-id":"com.atria-soft", + "description":"Stylizer for C++ test", + "license":"MPL-2", + "license-file":"file://LICENCE.txt", + "maintainer":"file://authors.txt", + "author":"file://authors.txt", + "version":"file://version.txt", + "code-quality":"MEDIUM", + + "source": [ + "test/main.cpp", + "test/testBlock.cpp", + "test/testClass.cpp", + "test/testComment.cpp", + "test/testDoWhile.cpp", + "test/testElse.cpp", + "test/testFor.cpp", + "test/testFunction.cpp", + "test/testIf.cpp", + "test/testNamespace.cpp", + "test/testPreprocessor.cpp", + "test/testStruct.cpp", + "test/testSwitch.cpp", + "test/testTemplate.cpp", + "test/testType.cpp", + "test/testVariable.cpp", + "test/testWhile.cpp" + ], + "header": [ + "algue/base64.hpp", + "algue/sha1.hpp", + "algue/sha512.hpp", + "algue/md5.hpp" + ], + "path":[ + "test" + ], + "compilation-version": { + "language": "c++", + "version": 2017 + }, + "dependency": [ + "estyle", + "etest", + "test-debug" + ], + "copy":[ + { + "path":"data/*", + "to":"test" + } + ] +} \ No newline at end of file diff --git a/GLD_estyle.json b/GLD_estyle.json new file mode 100644 index 0000000..c982d98 --- /dev/null +++ b/GLD_estyle.json @@ -0,0 +1,40 @@ +{ + "type":"LIBRARY", + "group-id":"com.atria-soft", + "description":"style checker/updater for C++", + "license":"MPL-2", + "license-file":"file://LICENCE.txt", + "maintainer":"file://authors.txt", + "author":"file://authors.txt", + "version":"file://version.txt", + "code-quality":"MEDIUM", + + "source": [ + "estyle/debug.cpp", + "estyle/estyle.cpp", + "estyle/GroupProperty.cpp", + "estyle/Generator.cpp", + "estyle/lexer/Lexer.cpp", + "estyle/lexer/tocken.cpp" + ], + "header": [ + "estyle/debug.hpp", + "estyle/estyle.hpp", + "estyle/GroupProperty.hpp", + "estyle/Generator.hpp", + "estyle/lexer/Lexer.hpp", + "estyle/lexer/tocken.hpp" + ], + "path":[ + "." + ], + "compilation-version": { + "language": "c++", + "version": 2017 + }, + "dependency": [ + "etk", + "eproperty", + "cxx" + ] +} \ No newline at end of file diff --git a/lutin_estyle-test.py b/lutin_estyle-test.py deleted file mode 100644 index faca432..0000000 --- a/lutin_estyle-test.py +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/python -import lutin.module as module -import lutin.tools as tools - -def get_type(): - return "BINARY" - -def get_sub_type(): - return "TEST" - -def get_name(): - return "estyle-test" - -def get_desc(): - return "Stylizer for C++ test" - -def configure(target, my_module): - my_module.add_depend(['estyle', 'etest', 'test-debug']) - # add extra compilation flags : - my_module.add_extra_flags() - # add sources files - my_module.add_src_file([ - 'test/main.cpp', - 'test/testBlock.cpp', - 'test/testClass.cpp', - 'test/testComment.cpp', - 'test/testDoWhile.cpp', - 'test/testElse.cpp', - 'test/testFor.cpp', - 'test/testFunction.cpp', - 'test/testIf.cpp', - 'test/testNamespace.cpp', - 'test/testPreprocessor.cpp', - 'test/testStruct.cpp', - 'test/testSwitch.cpp', - 'test/testTemplate.cpp', - 'test/testType.cpp', - 'test/testVariable.cpp', - 'test/testWhile.cpp', - ]) - my_module.add_path("test") - my_module.copy_path('data/*','test') - return my_module - - diff --git a/lutin_estyle.py b/lutin_estyle.py deleted file mode 100644 index 2167382..0000000 --- a/lutin_estyle.py +++ /dev/null @@ -1,37 +0,0 @@ -#!/usr/bin/python -import lutin.module as module -import lutin.tools as tools - -def get_type(): - return "LIBRARY" - -def get_name(): - return "estyle" - -def get_desc(): - return "style checker/updater for C++" - -def configure(target, my_module): - my_module.add_depend(['etk', 'eproperty', 'cxx']) - # add extra compilation flags : - my_module.add_extra_flags() - # add sources files - my_module.add_src_file([ - 'estyle/debug.cpp', - 'estyle/estyle.cpp', - 'estyle/GroupProperty.cpp', - 'estyle/Generator.cpp', - 'estyle/lexer/Lexer.cpp', - 'estyle/lexer/tocken.cpp', - ]) - my_module.add_header_file([ - 'estyle/debug.hpp', - 'estyle/estyle.hpp', - 'estyle/GroupProperty.hpp', - 'estyle/Generator.hpp', - 'estyle/lexer/Lexer.hpp', - 'estyle/lexer/tocken.hpp', - ]) - return my_module - - diff --git a/version.txt b/version.txt index 0d4d124..49ffebc 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.1.0-dev +0.1.0-dev \ No newline at end of file