xgodeproj

command module
v0.0.0-...-64f6aba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2015 License: MIT Imports: 4 Imported by: 0

README

xgodeproj

Description

This library parses xcodeproj/project.pbxproj file.

You can see the project hierarchy from cli.

$ xgodeproj show --section PBXGroup
+ Sample
    AppDelegate.swift
    ViewController.swift
    Images.xcassets
  + Supporting Files
      Info.plist
+ SampleTests
    SampleTests.swift
  + Supporting Files
      Info.plist
+ Products
    Sample.app
    SampleTests.xctest

See already implemented list to parse pbxproj.

  • PBXBuildFile
  • PBXContainerItemProxy
  • PBXFileReference
  • PBXFrameworksBuildPhase
  • PBXGroup
  • PBXNativeTarget
  • PBXProject
  • PBXResourcesBuildPhase
  • PBXSourcesBuildPhase
  • PBXTargetDependency
  • PBXVariantGroup
  • XCBuildConfiguration
  • XCConfigurationList

Usage

Execute this command in your root dir for Xcode project or workspace. It automatically and recursively finds the project.pbxproj file to parse. Also, you can specify project name when you have some projects in workspace.

show all section name
$ xgodeproj show
$ xgodeproj show --project Sample
show section information
$ xgodeproj show --section <section name>
$ xgodeproj show --section <section name> --project Sample

Install

To install, use go get:

$ go get -d github.com/mpon/xgodeproj

Contribution

  1. Fork (https://github.com/mpon/xgodeproj/fork)
  2. Create a feature branch
  3. Commit your changes
  4. Rebase your local changes against the master branch
  5. Run test suite with the go test ./... command and confirm that it passes
  6. Run gofmt -s
  7. Create a new Pull Request

Author

mpon

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL