Skip to content

Commit 0059652

Browse files
committed
chore: cleanup
1 parent 293025e commit 0059652

File tree

5 files changed

+29
-55
lines changed

5 files changed

+29
-55
lines changed

Diff for: .ratignore

-2
This file was deleted.

Diff for: .travis.yml

-19
This file was deleted.

Diff for: .vscode/launch.json

+15-17
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
{
2-
// Use IntelliSense to learn about possible attributes.
3-
// Hover to view descriptions of existing attributes.
4-
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5-
"version": "0.2.0",
6-
"configurations": [
7-
{
8-
"type": "pwa-node",
9-
"request": "launch",
10-
"name": "Launch Program",
11-
"skipFiles": [
12-
"<node_internals>/**"
13-
],
14-
"runtimeExecutable": "nodeunit",
15-
"runtimeArgs": ["test/parser", "test"]
16-
}
17-
]
18-
}
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "node",
9+
"request": "launch",
10+
"name": "Launch Program",
11+
"skipFiles": ["<node_internals>/**"],
12+
"runtimeExecutable": "nodeunit",
13+
"runtimeArgs": ["test/parser", "test"]
14+
}
15+
]
16+
}

Diff for: README.md

+13-16
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@
2121

2222
# nativescript-dev-xcode
2323

24-
<!--
25-
[![NPM](https://nodei.co/npm/nativescript-dev-xcode.png?compact=true)](https://nodei.co/npm/xcode/)
26-
-->
27-
[![Build Status](https://travis-ci.org/NativeScript/nativescript-dev-xcode.svg?branch=master)](https://travis-ci.org/apache/cordova-node-xcode)
28-
2924
Parser utility for xcodeproj project files
3025

3126
Allows you to edit xcodeproject files and write them back out.
@@ -36,19 +31,19 @@ Forked from: [apache/cordova-node-xcode](https://github.com/apache/cordova-node-
3631

3732
```js
3833
// API is a bit wonky right now
39-
var xcode = require('xcode'),
40-
fs = require('fs'),
41-
projectPath = 'myproject.xcodeproj/project.pbxproj',
42-
myProj = xcode.project(projectPath);
34+
var xcode = require("xcode"),
35+
fs = require("fs"),
36+
projectPath = "myproject.xcodeproj/project.pbxproj",
37+
myProj = xcode.project(projectPath);
4338

4439
// parsing is async, in a different process
4540
myProj.parse(function (err) {
46-
myProj.addHeaderFile('foo.h');
47-
myProj.addSourceFile('foo.m');
48-
myProj.addFramework('FooKit.framework');
49-
50-
fs.writeFileSync(projectPath, myProj.writeSync());
51-
console.log('new project written');
41+
myProj.addHeaderFile("foo.h");
42+
myProj.addSourceFile("foo.m");
43+
myProj.addFramework("FooKit.framework");
44+
45+
fs.writeFileSync(projectPath, myProj.writeSync());
46+
console.log("new project written");
5247
});
5348
```
5449

@@ -63,7 +58,9 @@ grammar. Other tests will use the prebuilt parser (`lib/parser/pbxproj.js`).
6358

6459
To rebuild the parser js file after editing the grammar, run:
6560

66-
npm run pegjs
61+
```
62+
npm run pegjs
63+
```
6764

6865
(and be sure to restore the Apache license notice in
6966
`lib/parser/pbxproj.js` before committing)

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"dependencies": {
1818
"simple-plist": "1.3.1",
19-
"uuid": "9.0.0"
19+
"uuid": "9.0.1"
2020
},
2121
"devDependencies": {
2222
"nodeunit": "0.11.3",

0 commit comments

Comments
 (0)