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
| #define KeyPath(keyPath)\ | |
| ^NSString *(void) {\ | |
| __unused __typeof__(keyPath) x;\ | |
| return [@#keyPath substringFromIndex:([@#keyPath rangeOfString:@"."].location + 1)];\ | |
| }() |
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
| #!/usr/bin/env bash | |
| set -u | |
| set -e | |
| script_dir="$( cd "$( dirname "${BASH_SOURCE[0]:-$0}" )" && pwd )" | |
| script_name="$( basename "${BASH_SOURCE[0]:-$0}" )" | |
| print_usage_and_exit() | |
| { | |
| echo "Replaces all files found in specified directory three with their equal named counterparts from the other speicifed directory." |