deliver • snapshot • frameit • PEM • sigh • produce • cert • codes • spaceship • pilot • boarding • gym
-------Get in contact with the developer on Twitter: @KrauseFx
countdown
is part of fastlane: connect all deployment tools into one streamlined workflow.
Clone the countdown
repo
git clone https://github.com/fastlane/countdown
Clone all fastlane
repos and install development dependencies
cd countdown
[sudo] rake bootstrap
If you don't use rbenv or rvm you might need to run sudo rake bootstrap
to not run into a permission error.
Before working on something, make sure to have pulled the latest changes. To pull the changes of all repos, go to the countdown
directory and run
rake pull
When working on something, directly edit the Ruby files in the project folders. Make sure to switch to 2 spaces in your text editor.
To run the modified version of the tool, run the following in the project directory
./bin/[tool_name]
I personally use a plain Sublime Text with a terminal. Debuggin is pretty, just insert the following code to where you want to jump in:
require 'pry'
binding.pry
You then jump into an interactive debugger that allows you to print out variables, call methods and much more. Continue running the original script using control
+ d
In the directory of one project, run the tests using
rake test
This will do a few things:
- Runs the tests (you can run them via
rspec
too) - Makes sure no debug code (like
pry
) is still there - The
--help
command works as expected
The tests are executed using fastlane
🚀
Run your local copy using
./bin/[gem]
or install the local copy (might require sudo
)
bundle install && rake install
The fastlane
repos use rubocop to validate the code style.
The style validation is automatically done when running rake test
.
To automatically fix common code style issues (e.g. wrong spacing), run rubocop -a
To sync the latest rubocop
rules to all repos, run rake fetch_rubocop
in the countdown
directory. Use rake rubocop
to fetch the latest config and run the rubocop validation for all repos.
The configuration is always directly taken from the local fastlane
repository..
Please submit an issue on GitHub and provide information about your setup
This project is licensed under the terms of the MIT license. See the LICENSE file.
This project and all fastlane tools are in no way affiliated with Apple Inc. This project is open source under the MIT license, which means you have full access to the source code and can modify it to fit your own needs. All fastlane tools run on your own computer or server, so your credentials or other sensitive information will never leave your own computer. You are responsible for how you use fastlane tools.