Skip to content
This repository has been archived by the owner on Mar 12, 2023. It is now read-only.

Commit

Permalink
Add fastlane
Browse files Browse the repository at this point in the history
  • Loading branch information
danshevluk committed Jun 21, 2016
1 parent 7ec30ee commit bab441b
Show file tree
Hide file tree
Showing 5 changed files with 126 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GetHelp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,7 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_BITCODE = YES;
INFOPLIST_FILE = GetHelp/Info.plist;
Expand All @@ -966,6 +967,7 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CURRENT_PROJECT_VERSION = 1;
ENABLE_BITCODE = YES;
INFOPLIST_FILE = GetHelp/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
Expand Down
14 changes: 14 additions & 0 deletions fastlane/Appfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
app_identifier "ru.binaryblitz.GettHelp" # The bundle identifier of your app
apple_id "[email protected]" # Your Apple email address

# You can uncomment any of the lines below and add your own
# team selection in case you're in multiple teams
team_name "Binary Blitz OOO"
team_id "4WGG8V34K4"

# To select a team for iTunes Connect use
# itc_team_name "Company Name"
# itc_team_id "18742801

# you can even provide different app identifiers, Apple IDs and team names per lane:
# https://github.com/fastlane/fastlane/blob/master/docs/Appfile.md
53 changes: 53 additions & 0 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
fastlane_version "1.91.0"
default_platform :ios

platform :ios do
before_all do
ensure_git_status_clean
cocoapods
increment_build_number
# xctool
end

desc "Runs all the tests"
lane :test do
# snapshot
end

desc "Crashlytics beta"
lane :beta do
sigh(development: true, output_path: "/tmp")
gym(
scheme: "GetHelp",
use_legacy_build_api: true
)
crashlytics(
api_token: ENV["CRASHLYTICS_API_TOKEN"],
build_secret: ENV["CRASHLYTICS_BUILD_SECRET"],
notes: "",
groups: ['pos-dudes']
)
end

desc "Submit a new Beta Build to Apple TestFlight"
lane :testflight do
sigh
gym(scheme: "GetHelp") # Build your app - more options available
pilot
end

desc "Deploy a new version to the App Store"
lane :deploy do
# snapshot
sigh
gym(scheme: "GetHelp") # Build your app - more options available
# deliver(force: true)
# frameit
end

after_all do |lane|
build_number = Actions.lane_context[Actions::SharedValues::BUILD_NUMBER]
sh "git add -A"
sh "git commit -m \"Bulid \##{build_number}\""
end
end
34 changes: 34 additions & 0 deletions fastlane/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
fastlane documentation
================
# Installation
```
sudo gem install fastlane
```
# Available Actions
## iOS
### ios test
```
fastlane ios test
```
Runs all the tests
### ios beta
```
fastlane ios beta
```
Crashlytics beta
### ios testflight
```
fastlane ios testflight
```
Submit a new Beta Build to Apple TestFlight
### ios deploy
```
fastlane ios deploy
```
Deploy a new version to the App Store

----

This README.md is auto-generated and will be re-generated every time to run [fastlane](https://fastlane.tools).
More information about fastlane can be found on [https://fastlane.tools](https://fastlane.tools).
The documentation of fastlane can be found on [GitHub](https://github.com/fastlane/fastlane/tree/master/fastlane).
23 changes: 23 additions & 0 deletions fastlane/report.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite name="fastlane.lanes">


<testcase classname="fastlane.lanes" name="0: Verifying required fastlane version" time="0.001385">

</testcase>


<testcase classname="fastlane.lanes" name="1: default_platform" time="0.00046">

</testcase>


<testcase classname="fastlane.lanes" name="2: ensure_git_status_clean" time="0.012013">

<failure message="/Users/dan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.95.0/lib/fastlane/actions/actions_helper.rb:33:in `execute_action'&#10;/Users/dan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.95.0/lib/fastlane/runner.rb:182:in `block in execute_action'&#10;/Users/dan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.95.0/lib/fastlane/runner.rb:181:in `chdir'&#10;/Users/dan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.95.0/lib/fastlane/runner.rb:181:in `execute_action'&#10;/Users/dan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.95.0/lib/fastlane/runner.rb:107:in `trigger_action_by_name'&#10;/Users/dan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.95.0/lib/fastlane/fast_file.rb:140:in `method_missing'&#10;Fastfile:6:in `block (2 levels) in parsing_binding'&#10;/Users/dan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.95.0/lib/fastlane/runner.rb:213:in `execute_flow_block'&#10;/Users/dan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.95.0/lib/fastlane/runner.rb:47:in `block in execute'&#10;/Users/dan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.95.0/lib/fastlane/runner.rb:46:in `chdir'&#10;/Users/dan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.95.0/lib/fastlane/runner.rb:46:in `execute'&#10;/Users/dan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.95.0/lib/fastlane/lane_manager.rb:46:in `cruise_lane'&#10;/Users/dan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.95.0/lib/fastlane/command_line_handler.rb:30:in `handle'&#10;/Users/dan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.95.0/lib/fastlane/commands_generator.rb:51:in `block (2 levels) in run'&#10;/Users/dan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'&#10;/Users/dan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'&#10;/Users/dan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'&#10;/Users/dan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane_core-0.46.3/lib/fastlane_core/ui/fastlane_runner.rb:26:in `run!'&#10;/Users/dan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'&#10;/Users/dan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.95.0/lib/fastlane/commands_generator.rb:239:in `run'&#10;/Users/dan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.95.0/lib/fastlane/commands_generator.rb:20:in `start'&#10;/Users/dan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.95.0/lib/fastlane/cli_tools_distributor.rb:47:in `take_off'&#10;/Users/dan/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.95.0/bin/fastlane:5:in `&lt;top (required)&gt;'&#10;/Users/dan/.rbenv/versions/2.3.0/bin/fastlane:23:in `load'&#10;/Users/dan/.rbenv/versions/2.3.0/bin/fastlane:23:in `&lt;main&gt;'&#10;&#10;Git repository is dirty! Please ensure the repo is in a clean state by commiting/stashing/discarding all changes first." />

</testcase>

</testsuite>
</testsuites>

0 comments on commit bab441b

Please sign in to comment.