revans / Ti

A Rapid Development framework for Titanium
http://www.codewranglers.org
MIT License
88 stars 21 forks source link

Nokogiri in config.rb #7

Closed revans closed 13 years ago

revans commented 13 years ago

The nokogiri stuff needs to be pulled out of the generated application and that should be core to Ti itself.

revans commented 13 years ago

Referring to:

config = File.open('tiapp.xml') doc = Nokogiri::XML(config) config.close

rupakg commented 13 years ago

Correct. I will refactor the rakefile and remove the nokogiri dependency.

baldrailers commented 13 years ago

The parsing of tiapp.xml should be done after the project is generated. Or completely remove this since we capture these information:

Application

APP_ID = doc.xpath('ti:app/id').text APP_NAME = doc.xpath('ti:app/name').text APP_DEVICE = "iphone"

When you create a new project

ti new <name> <id> <platform>