From b6111d1317de17c1198499177b7e81eae9cba834 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Thu, 24 Sep 2015 21:44:04 +0200 Subject: [PATCH] [DEV] update next lutin version --- lutin_date.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lutin_date.py b/lutin_date.py index 65b26a3..7724136 100644 --- a/lutin_date.py +++ b/lutin_date.py @@ -9,21 +9,21 @@ def get_desc(): def create(target): # module name is 'edn' and type binary. - myModule = module.Module(__file__, 'date', 'LIBRARY') + my_module = module.Module(__file__, 'date', 'LIBRARY') # add the file to compile: - myModule.add_src_file([ + my_module.add_src_file([ 'date/date.cpp' ]) - myModule.add_header_file([ + my_module.add_header_file([ 'date/date.h' ]) now = datetime.datetime.now() - myModule.compile_flags('c++', [ + my_module.compile_flags('c++', [ '-Wno-write-strings', '-Wall', "-DBUILD_DAY=\""+str(now.day)+"\"", @@ -33,9 +33,9 @@ def create(target): "-DBUILD_MINUTE=\""+str(now.minute)+"\"", "-DBUILD_SECOND=\""+str(now.second)+"\""]) - myModule.add_path(tools.get_current_path(__file__)) + my_module.add_path(tools.get_current_path(__file__)) # add the currrent module at the - return myModule + return my_module