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
commands: | |
halt_if_cache_exists: | |
description: Halt a build if a cache already exists, without downloading the entire cache. Match only exact key. Pair with mark_cache_existence. | |
parameters: | |
category: | |
description: friendly name of the sort of cache (e.g. bundle, src) | |
type: string | |
key: | |
description: hash key where underlying data would be stored |
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
. /Library/Developer/CommandLineTools/usr/share/git-core/git-prompt.sh # for git_ps1 below | |
my_prompt() { | |
if [ $? -eq 0 ]; then | |
RC="" | |
RC_COLOR_FOR_PROMPT=$DF | |
else | |
RC="[$?]" | |
RC_COLOR_FOR_PROMPT=$RED | |
fi |