Skip to content

Latest commit

 

History

History
63 lines (46 loc) · 1.36 KB

README.md

File metadata and controls

63 lines (46 loc) · 1.36 KB

ninjin

Why don't we have :ninjin: !!?!?!?!?!?!??!?

Description

ninjin calls xcode-select -s .

xcode-select -h :

Print or change the path to the active developer directory. This directory controls which tools are used for the Xcode command line tools (for example, xcodebuild) as well as the BSD development commands (such as cc and make).

Usage

$ ninjin list
  Xcode.app (7.1.1 7B1005)
* Xcode-beta.app (7.2 7C62b)
$ ninjin switch 7.1.1
Password:
succeed in switching to Xcode(version 7.1.1 7B1005)
$ ninjin switch 7C62b
succeed in switching to Xcode(version 7.2 7C62b)
$ ninjin switch-at-least 7.1
succeed in switching to Xcode(version 7.2 7C62b)
$ ninjin switch-compatible 7.1.0
succeed in switching to Xcode(version 7.1.1 7B1005)
$ ninjin switch-latest
succeed in switching to Xcode(version 7.2 7C62b)

Install

To install, use go get:

$ go get -d github.com/S-Shimotori/ninjin

Contribution

  1. Fork (https://github.com/S-Shimotori/ninjin/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

S-Shimotori