mirror of
https://github.com/flavioribeiro/donut.git
synced 2026-04-23 00:27:03 +08:00
add option to run locally
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
if ! brew list srt &>/dev/null; then
|
||||
echo "ERROR you must install srt"
|
||||
echo "brew install srt"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! brew list ffmpeg &>/dev/null; then
|
||||
echo "ERROR you must install ffmpeg"
|
||||
echo "brew install ffmpeg"
|
||||
exit 1
|
||||
fi
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
source ./scripts/mac_check_deps.sh
|
||||
|
||||
export CGO_LDFLAGS="-L$(brew --prefix srt)/lib -lsrt"
|
||||
export CGO_CFLAGS="-I$(brew --prefix srt)/include/"
|
||||
|
||||
go run main.go
|
||||
@@ -1,14 +1,5 @@
|
||||
if ! brew list srt &>/dev/null; then
|
||||
echo "ERROR you must install srt"
|
||||
echo "brew install srt"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! brew list ffmpeg &>/dev/null; then
|
||||
echo "ERROR you must install ffmpeg"
|
||||
echo "brew install ffmpeg"
|
||||
exit 1
|
||||
fi
|
||||
#!/bin/bash
|
||||
source ./scripts/mac_check_deps.sh
|
||||
|
||||
export CGO_LDFLAGS="-L$(brew --prefix srt)/lib -lsrt"
|
||||
export CGO_CFLAGS="-I$(brew --prefix srt)/include/"
|
||||
|
||||
Reference in New Issue
Block a user