From: duplo Date: Wed, 28 Jan 2009 14:45:19 +0000 (+0000) Subject: Add the project creation routine at the end of the wizard. X-Git-Tag: 2.1.0~442 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=081a88733d3d278a1001ddb718121bbefe577c37;p=bertos.git Add the project creation routine at the end of the wizard. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2240 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/bertos.py b/wizard/bertos.py index 7017e0d2..78c34946 100755 --- a/wizard/bertos.py +++ b/wizard/bertos.py @@ -21,10 +21,17 @@ import BProject import BStartPage import BWizard +import bertos_utils + def newProject(): wizard = BWizard.BWizard() wizard.show() - wizard.exec_() + if wizard.exec_(): + prj = wizard.project() + output = prj.info("OUTPUT") + if output == "makefile": + ## Now only supports the BeRTOS build system + bertos_utils.createBertosProject(prj) def editProject(): print "editProject"