commit | ef21e5491b872e26d0605ac0eab1f3be40e4f6e8 | [log] [tgz] |
---|---|---|
author | alunny <alunny@gmail.com> | Wed Oct 31 13:36:59 2012 -0700 |
committer | alunny <alunny@gmail.com> | Wed Oct 31 13:36:59 2012 -0700 |
tree | 659e7d9bee303dd2cd886b34b4bb7be149f068a5 | |
parent | 6245e12333d56b976cbe5674141092219cb6d16e [diff] |
[AUTHORS] add Brett
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