Split out tools from main go.mod into tools/ (#4734)
* Split out tools from main go.mod into tools/ and create Makefile to support running them manually * chore(ci): linter error * fix(ci): fix the pre-commit and pre-push hooks
This commit is contained in:
@@ -5,12 +5,8 @@ set -e
|
||||
function install_ffmpeg() {
|
||||
# install a specific version of ffmpeg
|
||||
|
||||
if [[ "$OSTYPE" == "linux-"* ]]; then
|
||||
OS="linux"
|
||||
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
OS="macos"
|
||||
else
|
||||
echo "Exiting!!!"
|
||||
if [[ "$OSTYPE" != "linux-"* ]] && [[ "$OSTYPE" != "darwin"* ]]; then
|
||||
echo "Unsupported platform: $OSTYPE"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user