Skip to content

Commit

Permalink
Use correct unit tests module name (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
alphatroya committed Mar 28, 2024
1 parent 0412527 commit 01b628d
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [2.0.1] - 2024-03-28
### Changed
- Обновил SwiftGen до версии 6.6.3
### Fixed
- Добавил тестовый таргет в Podfile
- Изменил название тестового модуля на {{ name }}Tests

## [2.0.0] - 2024-02-13
### Changed
- Перешел на Cocoapods PM
Expand Down
8 changes: 6 additions & 2 deletions {{ cookiecutter.name }}/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ platform :ios, '{{ cookiecutter.deployment_target }}'
inhibit_all_warnings!

target '{{ cookiecutter.name | lower }}' do
pod 'SwiftGen', '~> 6.5.1'
pod 'SwiftFormat/CLI', '~> 0.53'
pod 'SwiftGen', '~> 6.6.3'
pod 'SwiftFormat/CLI', '~> 0.53'

target '{{ cookiecutter.name | lower }}Tests' do
inherit! :search_paths
end
end
2 changes: 1 addition & 1 deletion {{ cookiecutter.name }}/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ The resulted encrypted file should be committed to the repository.

---

This project was created using [the project template](https://github.com/alphatroya/swift-project-template) version 2.0.0.
This project was created using [the project template](https://github.com/alphatroya/swift-project-template) version 2.0.1.
3 changes: 3 additions & 0 deletions {{ cookiecutter.name }}/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,6 @@ targets:
- {{ cookiecutter.name }}Tests
dependencies:
- target: {{ cookiecutter.name | lower }}
settings:
base:
PRODUCT_MODULE_NAME: {{ cookiecutter.name | lower }}Tests

0 comments on commit 01b628d

Please sign in to comment.