Skip to content

Commit

Permalink
Unlimit 0.0.4, Use unlimit without bundler
Browse files Browse the repository at this point in the history
  • Loading branch information
biocross committed Aug 24, 2019
1 parent fdca136 commit 66d9ced
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# Change Log
## [0.0.4](https://github.com/biocross/unlimit/releases/tag/0.0.4)
Released on 2019-08-24.

#### Fixed
- Unlimit adds a new binary `unlimit-xcode` to avoid a naming conflict with the system binary `unlimit`. Use this new command to run unlimit without bundler!

## [0.0.3](https://github.com/biocross/unlimit/releases/tag/0.0.3)
Released on 2019-08-24.

Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
unlimit (0.0.2)
unlimit (0.0.4)
configure_extensions
fastlane (>= 2.116.0)
highline
Expand Down
26 changes: 22 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,17 @@ Unlimit is a simple tool to quickly run your app on your device without worrying

## Installation

If your iOS/Mac project does not have a `Gemfile` yet, [learn how to set it up here](https://www.mokacoding.com/blog/ruby-for-ios-developers-bundler/). It's highly recommended you use [**bundler**](https://bundler.io/) to maintain consistent versions of tools like `cocoapods`, `fastlane` etc within your team.
#### Using RubyGems

Install unlimit by running:

```
$ gem install unlimit
```

#### Using Bundler

If your Xcode project does not have a `Gemfile` yet, [learn how to set it up here](https://www.mokacoding.com/blog/ruby-for-ios-developers-bundler/). It's highly recommended you use [**bundler**](https://bundler.io/) to maintain consistent versions of tools like `cocoapods`, `fastlane` etc within your team.

To use unlimit, add this line to your app's Gemfile:

Expand All @@ -25,7 +35,13 @@ And then install it using [bundler](https://bundler.io/) by executing:

## Usage

After installing the gem, just run:
If you installed using `gem install`, run this in the same folder as your **.xcodeproj** file:

```
$ unlimit-xcode
```

If you're using `bundler`, run:

$ bundle exec unlimit

Expand Down Expand Up @@ -70,9 +86,11 @@ Like the above script, You can use a few handy variables that unlimit will autom
| `UNLIMIT_APP_BUNDLE_ID` | The unique app **bundle ID** generated by unlimit |
| `UNLIMIT_APP_GROUP_NAME` | The **app group id** generated by unlimit |

## Contributing
## Feedback & Contributing

If unlimit does not work for you, please [report it](https://github.com/biocross/unlimit/issues/new), I might have missed a lot of edge cases! Any feedback or feature suggesions are also encouraged.

Bug reports and pull requests are welcome. Any feedback or feature suggesions are also encouraged.
Bug reports and pull requests are welcome.

## FAQs

Expand Down
20 changes: 20 additions & 0 deletions bin/unlimit-xcode
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/usr/bin/env ruby
# frozen_string_literal: true

require 'unlimit'
require 'optparse'

unlimiter = Unlimit::CLI.new
options = {}

OptionParser.new do |opt|
opt.on('--project XCODEPROJ') { |o| options['project_path'] = o }
opt.on('--plist INFO_PLIST') { |o| options['plist_path'] = o }
opt.on('--target TARGET_NAME') { |o| options['target_name'] = o }
opt.on('--team_id TEAM_ID') { |o| options['team_id'] = o }
opt.on('--configuration CONFIGURATION_YAML_FILE') { |o| options['configuration'] = o }
opt.on('--keep_fabric') { |_o| options['keep_fabric'] = true }
opt.on('--version') { unlimiter.showVersion }
end.parse!

unlimiter.start(options)
2 changes: 1 addition & 1 deletion lib/unlimit/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Unlimit
VERSION = "0.0.3"
VERSION = "0.0.4"
end
2 changes: 1 addition & 1 deletion unlimit.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end
spec.executables = ['unlimit']
spec.executables = %w[unlimit unlimit-xcode]
spec.require_paths = ['lib']

spec.add_dependency 'xcodeproj'
Expand Down

0 comments on commit 66d9ced

Please sign in to comment.