This repository has been archived by the owner on Jul 22, 2023. It is now read-only.
forked from freddi-kit/fastlane
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate fastlane to be a mono gem (fastlane#7436)
* Remove license files from sub-directories * Remove version files from sub-directories * Remove gemspecs * Remove Gemfiles * Migrate executables * Update root rake files * Add new bin dir * Version bump * New gemspec * Add proxy for all tools * Show warning in bin proxy * Add explicit names to all tools * Restore fastlane executable * Fix fastlane bin stub * Change all versions to use the fastlane version * Add spaceship playground support * Fix code style * Update rspec dependency * Move out ::DESCRIPTION into main module definition * Remove watchbuild from main repo * Remove danger device grid plugin * Add plugins to fastlane * Move description back to fastlane version.rb Otherwise all of fastlane will have to be pulled in just to include version information * Command generator for spaceship / fix spaceship executable for monogem (fastlane#7479) * implement commands_generator for spaceship * Remove watchbuild * Fix for spaceauth executable * Pass parrameter list to exec Otherwise `spaceauth -u [email protected]` thinks `-u [email protected]` is a single param * Add comment to explain exec invocation * Add fastlane-credentials bin * Update install instructions to use `fastlane` instead of other gems (fastlane#7496) * Update install instructions to use `fastlane` instead of other gems * Update snapshot, sigh, match and gym instructions for mono gem * Update supply, spaceship, screengrab, scan, produce and pilot usage instructions * Update pem and gym instructions * Update readmes * Refactor mono gem tests to be mono also (fastlane#7478) Refactor mono gem tests to be mono also * Improve wording of binary error message * Add support for emoji binaries * Update update_fastlane action to only update the fastlane gem * Add new `exclude` option to `ensure_no_debug_code` action * Update the fastlane deployment pipline to work with the mono gem * Fix `fastlane bump` for mono gem * Add Pluginfile * Update persistence file path for failed rspec tests * Update auto-rubocop-config copy script for fastlane plugins * Improve fastlane dependencies * Add comment to plugin’s default gemspec to avoid circular dependencies * Fix shell escaping for parameters with space * Fix snapshot report generation This was still using the old API to fetch an asset file * Add missing dotenv dependency * Enable fastlane releases * Simplify json dependency * Remove binary proxies for initial fastlane 2.0 release * Update tests for fastlane version with no binaries for sub-tools * Fix code style * Add rb-readline as development dependency to fix pry issues * Use rake to run tests * Version bump * [fastlane] Version bump * Fix action collector specs
- Loading branch information
Showing
362 changed files
with
1,676 additions
and
4,869 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
--color --require spec_helper --format d | ||
require 'rspec/core/rake_task' | ||
|
||
RSpec::Core::RakeTask.new(:spec) | ||
|
||
--require ./spec_helper | ||
--color | ||
--format d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,6 @@ | ||
source "https://rubygems.org" | ||
|
||
# Needed for CI | ||
gem "danger", "~> 0.10" | ||
gemspec path: "." | ||
|
||
# Local fastlane, important to be included using `gemspec`, as this will | ||
# also include development dependencies | ||
gemspec path: File.join(Dir.pwd, "fastlane") | ||
|
||
plugins_path = File.join(Dir.pwd, 'fastlane', 'fastlane', 'Pluginfile') | ||
eval(File.read(plugins_path), binding) if File.exist?(plugins_path) | ||
|
||
# Use the local copy of all tools | ||
require "fastlane/tools.rb" | ||
tools = Fastlane::TOOLS + [:fastlane_core, :credentials_manager] | ||
tools.each do |tool_name| | ||
next if tool_name == :fastlane | ||
gem tool_name.to_s, path: File.join(Dir.pwd, tool_name.to_s) | ||
end | ||
plugins_path = File.join(File.expand_path("..", __FILE__), 'fastlane', 'Pluginfile') | ||
eval(File.read(plugins_path), binding) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env ruby | ||
|
||
require "colored" | ||
require "shellwords" | ||
|
||
tool_name = File.basename($0) | ||
|
||
full_params = ARGV.shelljoin | ||
|
||
puts "[WARNING] You are calling #{tool_name} directly. Usage of the tool name without the `fastlane` prefix is deprecated in fastlane 2.0".yellow | ||
puts "Please update your scripts to use `fastlane #{tool_name} #{full_params}` instead.".yellow | ||
|
||
exec_arr = ["fastlane", tool_name] + ARGV | ||
|
||
# The * turns the array into a parameter list | ||
# This is using the form of exec which takes a variable parameter list, e.g. `exec(command, param1, param2, ...)` | ||
# We need to use that, because otherwise invocations like | ||
# `spaceauth -u [email protected]` would recognize "-u [email protected]" as a single parameter and throw errors | ||
exec(*exec_arr) |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,7 +59,7 @@ Get in contact with the developers on Twitter: [@FastlaneTools](https://twitter. | |
|
||
**Note**: It is recommended to use [match](https://github.com/fastlane/fastlane/tree/master/match) according to the [codesigning.guide](https://codesigning.guide) for generating and maintaining your certificates. Use `cert` directly only if you want full control over what's going on and know more about codesigning. | ||
|
||
sudo gem install cert | ||
sudo gem install fastlane | ||
|
||
Make sure, you have the latest version of the Xcode command line tools installed: | ||
|
||
|
@@ -79,7 +79,7 @@ In the gif I used `cert && sigh`, which will first create an iOS code signing ce | |
|
||
# Usage | ||
|
||
cert | ||
fastlane cert | ||
|
||
This will check if any of the available signing certificates is installed on your local machine. | ||
|
||
|
@@ -96,17 +96,17 @@ Only if a new certificate needs to be created, `cert` will | |
|
||
You can pass your Apple ID: | ||
|
||
cert -u [email protected] | ||
fastlane cert -u [email protected] | ||
|
||
For a list of available commands run | ||
|
||
cert --help | ||
fastlane cert --help | ||
|
||
Keep in mind, there is no way for `cert` to download existing certificates + private keys from the Apple Developer Portal, as the private key never leaves your computer. | ||
|
||
## Environment Variables | ||
|
||
Run `cert --help` to get a list of all available environment variables. | ||
Run `fastlane cert --help` to get a list of all available environment variables. | ||
|
||
## Use with [`sigh`](https://github.com/fastlane/fastlane/tree/master/sigh) | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
require 'cert/version' | ||
require 'cert/runner' | ||
require 'cert/options' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,15 +8,12 @@ class CommandsGenerator | |
include Commander::Methods | ||
|
||
def self.start | ||
FastlaneCore::UpdateChecker.start_looking_for_update('cert') | ||
self.new.run | ||
ensure | ||
FastlaneCore::UpdateChecker.show_update_status('cert', Cert::VERSION) | ||
end | ||
|
||
def run | ||
program :name, 'cert' | ||
program :version, Cert::VERSION | ||
program :version, Fastlane::VERSION | ||
program :description, 'CLI for \'cert\' - Create new iOS code signing certificates' | ||
program :help, 'Author', 'Felix Krause <[email protected]>' | ||
program :help, 'Website', 'https://fastlane.tools' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1 @@ | ||
require 'coveralls' | ||
Coveralls.wear_merged! unless ENV["FASTLANE_SKIP_UPDATE_CHECK"] | ||
|
||
require 'cert' | ||
require 'webmock/rspec' | ||
require 'stubbing.rb' | ||
|
||
# This module is only used to check the environment is currently a testing env | ||
module SpecHelper | ||
end | ||
|
||
WebMock.disable_net_connect!(allow: 'coveralls.io') | ||
require_relative 'stubbing.rb' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.