Summary: Makes building a bit easier and I can have my own README in there. Reviewed By: jknoxville Differential Revision: D13784725 fbshipit-source-id: b694c1ce812d4e383ad44faeacd8e0094a96b432
12 lines
344 B
Bash
Executable File
12 lines
344 B
Bash
Executable File
#!/bin/bash
|
|
|
|
BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
# Run from here so we know we're having fbsource in our $PWD.
|
|
cd "$BASEDIR" || exit
|
|
|
|
case $OSTYPE in
|
|
darwin*) ./bump.mac "$@" ;;
|
|
linux-gnu) ./bump.lnx64 "$@" ;;
|
|
*) echo "Unknown OS. Using source version via https://haskellstack.org/" && ./bump/bump.hs "$@" ;;
|
|
esac
|