chore: update readme and makefile
This commit is contained in:
parent
74ff984906
commit
f5a230d57d
9
Makefile
9
Makefile
@ -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)
|
mumble-discord-bridge: $(GOFILES)
|
||||||
goreleaser build --skip-validate --rm-dist
|
goreleaser build --skip-validate --rm-dist
|
||||||
@ -11,9 +11,12 @@ dev-profile: $(GOFILES)
|
|||||||
|
|
||||||
docker-latest:
|
docker-latest:
|
||||||
docker build -t stieneee/mumble-discord-bridge: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:
|
clean:
|
||||||
rm -f mumble-discord-bridge
|
rm -f mumble-discord-bridge
|
||||||
|
|
||||||
.PHONY: all push clean
|
.PHONY: docker-latest docker-latest-push clean
|
@ -73,6 +73,12 @@ Individual Discord servers need to invite the bot before it can connect.
|
|||||||
### Binary
|
### Binary
|
||||||
|
|
||||||
Prebuilt binaries are available.
|
Prebuilt binaries are available.
|
||||||
|
The binaries require the opus code runtime library to be installed.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Ubuntu
|
||||||
|
sudo apt install libopus0
|
||||||
|
```
|
||||||
|
|
||||||
```bash
|
```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 -
|
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
|
```bash
|
||||||
go build -o mumble-discord-bridge *.go
|
go build -o mumble-discord-bridge *.go
|
||||||
|
#or
|
||||||
|
make mumble-discord-bridge
|
||||||
```
|
```
|
||||||
|
|
||||||
## Known Issues
|
## Known Issues
|
||||||
|
Loading…
Reference in New Issue
Block a user