forked from fastlane/fastlane
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[action][spm] add simulator flag for swift compiler (fastlane#21707)
* Add simulator flag to spm action for swift compiler * add user entry syntax check * removing ipadsimulator from syntax check * Adding verify_block for flag check * adding simulators list to user_error * Update fastlane/lib/fastlane/actions/spm.rb Co-authored-by: Roger Oba <rogerluan.oba@gmail.com> * Update fastlane/lib/fastlane/actions/spm.rb Co-authored-by: Roger Oba <rogerluan.oba@gmail.com> * Adding unit tests for simulator * Fix simulator typo * Update fastlane/spec/actions_specs/spm_spec.rb Co-authored-by: Roger Oba <rogerluan.oba@gmail.com> * Fix typo. * Adding support for different simulator architecture * Adding unit tests for simulator architecture * Modify code by extracting the logic into methods * Update fastlane/lib/fastlane/actions/spm.rb Co-authored-by: Roger Oba <rogerluan.oba@gmail.com> * Update fastlane/lib/fastlane/actions/spm.rb Co-authored-by: Roger Oba <rogerluan.oba@gmail.com> --------- Co-authored-by: Roger Oba <rogerluan.oba@gmail.com>
- Loading branch information
1 parent
347c1a4
commit f632f7d
Showing
2 changed files
with
125 additions
and
1 deletion.
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