chore: update readme and makefile

This commit is contained in:
Tyler Stiene 2021-01-17 22:41:42 -05:00
parent 74ff984906
commit f5a230d57d
2 changed files with 14 additions and 3 deletions

View File

@ -1,4 +1,4 @@
GOFILES=main.go mumble.go discord.go
GOFILES=main.go mumble.go discord.go bridge.go config.go handlers.go
mumble-discord-bridge: $(GOFILES)
goreleaser build --skip-validate --rm-dist
@ -11,9 +11,12 @@ dev-profile: $(GOFILES)
docker-latest:
docker build -t stieneee/mumble-discord-bridge:latest .
docker push stieneee/mumble-discord-bridge:latest
docker-next:
docker build -t stieneee/mumble-discord-bridge:next .
docker push stieneee/mumble-discord-bridge:next
clean:
rm -f mumble-discord-bridge
.PHONY: all push clean
.PHONY: docker-latest docker-latest-push clean

View File

@ -73,6 +73,12 @@ Individual Discord servers need to invite the bot before it can connect.
### Binary
Prebuilt binaries are available.
The binaries require the opus code runtime library to be installed.
```bash
# Ubuntu
sudo apt install libopus0
```
```bash
curl -s https://api.github.com/repos/stieneee/mumble-discord-bridge/releases/latest | grep "mumble-discord-bridge" | grep "browser_download_url" | cut -d '"' -f 4 | wget -qi -
@ -116,6 +122,8 @@ Ensure the opus library is installed.
```bash
go build -o mumble-discord-bridge *.go
#or
make mumble-discord-bridge
```
## Known Issues