Fixing build errors
This commit is contained in:
parent
43f412e722
commit
77723f4941
12
circle.yml
12
circle.yml
|
@ -12,12 +12,12 @@ dependencies:
|
||||||
- make
|
- make
|
||||||
- make install
|
- make install
|
||||||
cache_directories:
|
cache_directories:
|
||||||
- $HOME/opus
|
- "$HOME/opus"
|
||||||
- $HOME/bin
|
- "$HOME/bin"
|
||||||
- $HOME/gopath/bin
|
- "$HOME/gopath/bin"
|
||||||
- $HOME/gopath/pkg
|
- "$HOME/gopath/pkg"
|
||||||
- $HOME/gopath/src/github.com/nitrous-io
|
- "$HOME/gopath/src/github.com/nitrous-io"
|
||||||
- $HOME/gopath/src/github.com/MichaelOultram/mumbledj/.vendor
|
- "$HOME/gopath/src/github.com/MichaelOultram/mumbledj/.vendor"
|
||||||
test:
|
test:
|
||||||
override:
|
override:
|
||||||
- mumbledj -server=$MUMBLE_IP -port=$MUMBLE_PORT -username=circleci -password=$MUMBLE_PASSWORD -verbose=true -test=true:
|
- mumbledj -server=$MUMBLE_IP -port=$MUMBLE_PORT -username=circleci -password=$MUMBLE_PASSWORD -verbose=true -test=true:
|
||||||
|
|
|
@ -161,7 +161,7 @@ func parseCommand(user *gumble.User, username, command string) {
|
||||||
}
|
}
|
||||||
// Test command (WORKAROUND)
|
// Test command (WORKAROUND)
|
||||||
case "test":
|
case "test":
|
||||||
if dj.HasPermission(username, dj.conf.Permissions.AdminKill) && test != nil {
|
if dj.HasPermission(username, dj.conf.Permissions.AdminKill) {
|
||||||
test.testYoutubeSong()
|
test.testYoutubeSong()
|
||||||
} else {
|
} else {
|
||||||
dj.SendPrivateMessage(user, NO_PERMISSION_MSG)
|
dj.SendPrivateMessage(user, NO_PERMISSION_MSG)
|
||||||
|
|
Reference in a new issue