commit | 69e3cb69f90e5ffff6d8dc500855790b2e82c42d | [log] [tgz] |
---|---|---|
author | alunny <alunny@gmail.com> | Thu Oct 18 15:57:03 2012 -0700 |
committer | alunny <alunny@gmail.com> | Thu Oct 18 15:57:03 2012 -0700 |
tree | 348a4866f91fdcc5f8da3f1d7ba85a357a7a7392 | |
parent | 8427c537c8c5a9d3ac23df7f1ffdcd788f4d1fb8 [diff] |
0.5.4
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