Skip to content

Commit

Permalink
Remove fastlane setup (#205)
Browse files Browse the repository at this point in the history
* Remove fastlane setup

* Update github actions file

* Update version date
  • Loading branch information
alphatroya authored Jun 20, 2024
1 parent 1504c24 commit b6b2e78
Show file tree
Hide file tree
Showing 15 changed files with 9 additions and 183 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
run: |
export PATH=~/.rbenv/shims:"$PATH"
brew install cookiecutter rbenv mint &&
brew install cookiecutter rbenv mint fastlane &&
rbenv install 3.0.6 &&
cookiecutter --no-input -f . &&
cd Project &&
make test
fastlane scan
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [2.4.0] - 2024-06-20

### Removed

- Удалена fastlane папка, предпочтительный способ конфигурации fastlane - `fastlane init`

## [2.3.0] - 2024-06-17

### Changed
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ Here are some of the key features of this project template:
- **A Minimalistic Design**: The design of this project template is simple and clean, includes only required tools.
- **File Structure**: The project template provides file structure, making it easy to organize your code and assets.
- **Source Code Linter and Formatter**: The project template comes pre-configured SwiftFormat formatter and linter that help ensure your code follows best practices and is easy to read and understand.
- **Asset's Code Generation**: The project template uses SwiftGen to generate code for assets, fonts, strings, and storyboards.
- **Fastlane**: The project template includes an out-the-box Fastlane setup, allowing you to easily automate tasks such as building, testing, and deploying your app.
- **Git Hooks**: Git hooks are installed during bootstrap.
- **Xcode Project File Generation**: The project template includes a script that generates an Xcode project file, which avoid merge conflicts during teamwork.
- **No External Framework Dependencies**: The project template does not rely on any external frameworks or libraries, making it easy to maintain and update.
Expand Down
3 changes: 0 additions & 3 deletions cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@
"bundle_id": "com.organization",
"deployment_target": "14.0",
"development_team_id": "",
"match_repo_url": "",
"ipad": [
"Yes",
"No"
],
"development_itc_team": "",
"feedback_email": "",
"ignore_xcproject": [
"Yes",
"No"
Expand Down
1 change: 0 additions & 1 deletion hooks/post_gen_project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ make swiftgen

# Download .gitignore file
curl -L 'https://www.gitignore.io/api/swift,macos,fastlane' > .gitignore
echo 'fastlane/api-key.json' >> .gitignore
echo '.cache' >> .gitignore
{% if cookiecutter.ignore_xcproject == "Yes" %}
echo '{{ cookiecutter.name }}.xcodeproj' >> .gitignore
Expand Down
1 change: 0 additions & 1 deletion {{ cookiecutter.name }}/Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
source 'https://rubygems.org'

gem 'fastlane'
gem 'cocoapods', '~> 1.15.0'
14 changes: 0 additions & 14 deletions {{ cookiecutter.name }}/Makefile
Original file line number Diff line number Diff line change
@@ -1,33 +1,19 @@
API_KEY := fastlane/api-key.json
SWIFTGEN = Pods/SwiftGen/bin/swiftgen
SWIFTFORMAT = Pods/SwiftFormat/CommandLineTool/swiftformat

.PHONY: all
all: test

$(API_KEY):
touch $@

.PHONY: pods
## pods: Download project packages
pods: gems
bundle exec pod install

.PHONY: certs
## certs: Download Apple certificates for development
certs: gems $(API_KEY)
bundle exec fastlane match development --readonly

.PHONY: project
## project: Generate .xcodeproj file using XcodeGen utility
project: gems
mint run "yonaskolb/[email protected]"

.PHONY: test
## test: Launch unit tests
test: gems $(API_KEY)
bundle exec fastlane test

.PHONY: gems
## gems: Install ruby dependencies
gems:
Expand Down
12 changes: 1 addition & 11 deletions {{ cookiecutter.name }}/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,10 @@ To ensure everyone has the correct version of Xcode, it's highly recommended to

Before launching the project, it's important to confirm that each team member has installed the correct version of Xcode using the 'xcodes' tool. This will help ensure a smooth launch and prevent any problems down the line.

## AppStore credentials

Interaction with AppStore needs credentials. This project uses the official [AppStore API](https://docs.fastlane.tools/app-store-connect-api). For proper project deployment process, the project owner needs to create the `fastlane/app-key.json` file with access keys and encrypt by gpg tool with a strong password.

```sh
gpg -c fastlane/api-key.json
```

The resulted encrypted file should be committed to the repository.

## Copyright

{{ cookiecutter.organization }} ©

---

This project was created using [the project template](https://github.com/alphatroya/swift-project-template) version 2.3.0.
This project was created using [the project template](https://github.com/alphatroya/swift-project-template) version 2.4.0.
2 changes: 0 additions & 2 deletions {{ cookiecutter.name }}/fastlane/.env.default

This file was deleted.

3 changes: 0 additions & 3 deletions {{ cookiecutter.name }}/fastlane/Appfile

This file was deleted.

78 changes: 0 additions & 78 deletions {{ cookiecutter.name }}/fastlane/Fastfile

This file was deleted.

3 changes: 0 additions & 3 deletions {{ cookiecutter.name }}/fastlane/Gymfile

This file was deleted.

2 changes: 0 additions & 2 deletions {{ cookiecutter.name }}/fastlane/Matchfile

This file was deleted.

59 changes: 0 additions & 59 deletions {{ cookiecutter.name }}/fastlane/README.md

This file was deleted.

2 changes: 0 additions & 2 deletions {{ cookiecutter.name }}/fastlane/devices.txt

This file was deleted.

0 comments on commit b6b2e78

Please sign in to comment.