From ca3deb90777199dddf022055f6c87a93182468b9 Mon Sep 17 00:00:00 2001 From: Alexey Korolev Date: Thu, 28 Mar 2024 16:06:51 +0300 Subject: [PATCH] Use correct unit tests module name --- CHANGELOG.md | 7 +++++++ {{ cookiecutter.name }}/Podfile | 8 ++++++-- {{ cookiecutter.name }}/README.md | 2 +- {{ cookiecutter.name }}/project.yml | 3 +++ 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d908153..51319d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/{{ cookiecutter.name }}/Podfile b/{{ cookiecutter.name }}/Podfile index 083a5ce..f7a7197 100644 --- a/{{ cookiecutter.name }}/Podfile +++ b/{{ cookiecutter.name }}/Podfile @@ -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 diff --git a/{{ cookiecutter.name }}/README.md b/{{ cookiecutter.name }}/README.md index 18af738..cb99fbf 100644 --- a/{{ cookiecutter.name }}/README.md +++ b/{{ cookiecutter.name }}/README.md @@ -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. diff --git a/{{ cookiecutter.name }}/project.yml b/{{ cookiecutter.name }}/project.yml index 629c7c8..9def8c7 100644 --- a/{{ cookiecutter.name }}/project.yml +++ b/{{ cookiecutter.name }}/project.yml @@ -67,3 +67,6 @@ targets: - {{ cookiecutter.name }}Tests dependencies: - target: {{ cookiecutter.name | lower }} + settings: + base: + PRODUCT_MODULE_NAME: {{ cookiecutter.name | lower }}Tests