commit | 3d20386ee206972be6154bdbd569b233d952dabe | [log] [tgz] |
---|---|---|
author | alunny <alunny@gmail.com> | Wed Oct 31 15:10:27 2012 -0700 |
committer | alunny <alunny@gmail.com> | Wed Oct 31 15:10:27 2012 -0700 |
tree | c1d10e8bc42a47967fa29a7d13df2e44ff186721 | |
parent | 347651f44c5597b4e4bd72432490b75c2534f6a9 [diff] |
0.6.0
parser/toolkit for xcodeproj project files
Allows you to edit xcodeproject files and write them back out.
// API is a bit wonky right now var xcode = require('xcode'), fs = require('fs'), projectPath = 'myproject.xcodeproj/project.pbxproj', myProj = xcode.project(projectPath); // parsing is async, in a different process myProj.parse(function (err) { myProj.addHeaderFile('foo.h'); myProj.addSourceFile('foo.m'); myProj.addFramework('FooKit.framework'); fs.writeFileSync(projectPath, myProj.writeSync()); console.log('new project written'); });
MIT