commit | c4be849817aa8c327600bed2b39bc29bb15d54d4 | [log] [tgz] |
---|---|---|
author | Fil Maj <maj.fil@gmail.com> | Tue May 21 15:56:15 2013 -0700 |
committer | Fil Maj <maj.fil@gmail.com> | Tue May 21 15:56:15 2013 -0700 |
tree | 8ac27f7a99665dfc9e9c6c73677320bf7f9cfab2 | |
parent | 915ef358e37c45e62a4199531b09965f57600ed9 [diff] |
fixed failing tests and added test for adding/removing from lib search paths.
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