This file contains hidden or 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
| #!/bin/bash | |
| | |
| # Function to install the 'xcodeproj' gem | |
| install_xcodeproj() { | |
| gem install xcodeproj | |
| } | |
| | |
| # Check if 'xcodeproj' gem is installed | |
| if ! gem spec xcodeproj > /dev/null 2>&1; then | |
| echo "Installing 'xcodeproj' gem..." |
This file contains hidden or 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
| import os | |
| import re | |
| import sys | |
| def find_swift_files(directory): | |
| swift_files = [] | |
| for root, _, files in os.walk(directory): | |
| for file in files: | |
| if file.endswith(".swift"): | |
| swift_files.append(os.path.join(root, file)) |
OlderNewer