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/sh | |
set -e | |
if [ -z "${CONFIGURATION}" ]; then | |
CONFIGURATION=debug | |
fi | |
# Create the development toolchain. | |
rm -rf ~/public/swift-project/build/Ninja-ReleaseAssert/swift-dev.xctoolchain |
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
$ cat ~/bin/status | |
#!/bin/sh | |
if [ $# -lt 2 ]; then | |
echo "Usage: $(basename $0) <exit-code> <name ...>" | |
echo | |
echo "This script is intended to be used along with a shell alias" | |
echo "such as:" | |
echo " alias status='status $?'" | |
echo "which will automatically add the last exit code." |
NewerOlder