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
#!/bin/bash | |
# Parameters | |
source="$(pwd)/$1" # Track folder source where diffs are checked | |
index=$2 # Track diff remote | |
project_root=${0%/*} # Track project root folder | |
swiftlint_path='Pods/SwiftLint/swiftlint' # Track SwiftLint path | |
# Parameter check | |
if [[ $# < 1 ]]; then |
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
#!/bin/bash | |
# Parameters | |
workspace_path=$1 # Path to .xcworkspace to identify projects | |
# Parameter check | |
if [[ $# != 1 ]]; then | |
echo "usage: $0 <.xcworkspace path>" | |
exit 1 | |
fi |