From 081a88733d3d278a1001ddb718121bbefe577c37 Mon Sep 17 00:00:00 2001 From: duplo Date: Wed, 28 Jan 2009 14:45:19 +0000 Subject: [PATCH] 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 --- wizard/bertos.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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" -- 2.34.1