FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
node-xcode/lib/parseJob.js at master · fealebenpae/node-xcode · GitHub
fealebenpae
/
node-xcode
Public
forked from
alunny/node-xcode
Notifications
You must be signed in to change notification settings
Fork
1
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
node-xcode
/
lib
/
parseJob.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
16 lines (15 loc) · 388 Bytes
Breadcrumbs
node-xcode
/
lib
/
parseJob.js
Copy path
File metadata and controls
16 lines (15 loc) · 388 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// parsing is slow and blocking right now
// so we do it in a separate process
var
fs
=
require
(
'fs'
)
,
parser
=
require
(
'./parser/pbxproj'
)
,
path
=
process
.
argv
[
2
]
,
fileContents
,
obj
;
try
{
fileContents
=
fs
.
readFileSync
(
path
,
'utf-8'
)
,
obj
=
parser
.
parse
(
fileContents
)
process
.
send
(
obj
)
process
.
exit
(
)
}
catch
(
e
)
{
process
.
send
(
e
)
process
.
exit
(
1
)
}
Back
|
FazBrowse Home
|
New Git URL