[DEV] update lutin naming
This commit is contained in:
parent
a94d26ba5f
commit
bf82bb3bbd
@ -1,15 +1,19 @@
|
||||
#!/usr/bin/python
|
||||
import lutinModule
|
||||
import lutinTools
|
||||
import lutinModule as module
|
||||
import lutinTools as tools
|
||||
|
||||
def Create(target):
|
||||
myModule = lutinModule.module(__file__, 'ejson', 'LIBRARY')
|
||||
def get_desc():
|
||||
return "e-json Json parser and genrator"
|
||||
|
||||
|
||||
def create(target):
|
||||
myModule = module.Module(__file__, 'ejson', 'LIBRARY')
|
||||
|
||||
myModule.AddModuleDepend(['etk'])
|
||||
myModule.add_module_depend(['etk'])
|
||||
|
||||
# add extra compilation flags :
|
||||
myModule.add_extra_compile_flags()
|
||||
myModule.AddSrcFile([
|
||||
myModule.add_src_file([
|
||||
'ejson/debug.cpp',
|
||||
'ejson/ejson.cpp',
|
||||
'ejson/Array.cpp',
|
||||
@ -20,7 +24,7 @@ def Create(target):
|
||||
'ejson/Object.cpp',
|
||||
'ejson/Value.cpp'])
|
||||
|
||||
myModule.AddExportPath(lutinTools.GetCurrentPath(__file__))
|
||||
myModule.add_export_path(tools.get_current_path(__file__))
|
||||
|
||||
# add the currrent module at the
|
||||
return myModule
|
||||
|
@ -1,30 +1,34 @@
|
||||
#!/usr/bin/python
|
||||
import lutinModule
|
||||
import lutinTools
|
||||
import lutinModule as module
|
||||
import lutinTools as tools
|
||||
import datetime
|
||||
|
||||
def Create(target):
|
||||
def get_desc():
|
||||
return "e-json test application"
|
||||
|
||||
|
||||
def create(target):
|
||||
# module name is 'edn' and type binary.
|
||||
myModule = lutinModule.module(__file__, 'ejsontest', 'BINARY')
|
||||
myModule = module.Module(__file__, 'ejsontest', 'BINARY')
|
||||
|
||||
# add the file to compile:
|
||||
myModule.AddSrcFile([
|
||||
myModule.add_src_file([
|
||||
'ejson/test.cpp'])
|
||||
|
||||
myModule.AddModuleDepend(['ejson'])
|
||||
myModule.add_module_depend(['ejson'])
|
||||
|
||||
now = datetime.datetime.now()
|
||||
versionID=str(now.year-2012)+"."+str(now.month)+"."+str(now.day)
|
||||
|
||||
# set the package properties :
|
||||
myModule.pkgSet("VERSION", versionID)
|
||||
myModule.pkgSet("COMPAGNY_TYPE", "org")
|
||||
myModule.pkgSet("COMPAGNY_NAME", "Edouard DUPIN")
|
||||
myModule.pkgSet("MAINTAINER", ["Mr DUPIN Edouard <yui.heero@gmail.com>"])
|
||||
myModule.pkgSet("SECTION", ["Development"])
|
||||
myModule.pkgSet("PRIORITY", "optional")
|
||||
myModule.pkgSet("DESCRIPTION", "e-json tester soft")
|
||||
myModule.pkgSet("NAME", "exml_tester")
|
||||
myModule.pkg_set("VERSION", versionID)
|
||||
myModule.pkg_set("COMPAGNY_TYPE", "org")
|
||||
myModule.pkg_set("COMPAGNY_NAME", "Edouard DUPIN")
|
||||
myModule.pkg_set("MAINTAINER", ["Mr DUPIN Edouard <yui.heero@gmail.com>"])
|
||||
myModule.pkg_set("SECTION", ["Development"])
|
||||
myModule.pkg_set("PRIORITY", "optional")
|
||||
myModule.pkg_set("DESCRIPTION", "e-json tester soft")
|
||||
myModule.pkg_set("NAME", "exml_tester")
|
||||
|
||||
# add the currrent module at the
|
||||
return myModule
|
||||
|
@ -2,6 +2,9 @@
|
||||
import monkModule as module
|
||||
import monkTools as tools
|
||||
|
||||
def get_desc():
|
||||
return "e-json Json parser and genrator"
|
||||
|
||||
def create():
|
||||
# module name is 'edn' and type binary.
|
||||
myModule = module.Module(__file__, 'ejson', 'LIBRARY')
|
||||
@ -11,5 +14,3 @@ def create():
|
||||
# add the currrent module at the
|
||||
return myModule
|
||||
|
||||
def get_desc():
|
||||
return ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user