Skip to content

Commit

Permalink
fixed the packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
svenwiltink committed Jan 9, 2019
1 parent 5ba4841 commit 3a557cf
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- make deps
- make build
- mkdir out/archives
- ls -1 out/binaries | xargs -L 1 -I{} tar --transform='flags=r;s|.*\(MusicBot\).*|\2|' --transform='flags=r;s|\(.*\)|MusicBot/\1|' -cf out/archives/{}.tar out/binaries/{}
- ls -1 out/binaries | xargs -L 1 -I{} tar -cf out/archives/{}.tar --transform='flags=r;s|.*\MusicBot.*\(\..*\)|MusicBot\1|' --transform='flags=r;s|dist/||' out/binaries/{} dist/config.json.example
deploy:
provider: releases
api_key:
Expand Down
25 changes: 25 additions & 0 deletions dist/config.json.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

{
"irc" : {
"server": "irc.freenode.net:6667",
"channel": "#banaan",
"nick": "iSlave",
"realname": "swiltink",
"pass": "",
"ssl": false
},
"rocketchat" : {
"server": "chat.sveniltink.nl:443",
"channel": "#banaan",
"username": "musicbot",
"pass": "",
"ssl": true
},
"youtube": {
"apikey": "api key"
},
"mpvpath": "C:\\Program Files (x86)\\mpv\\mpv.exe",
"mpvsocket": "\\\\.\\pipe\\mpvsocket",
"messageplugin": "terminal",
"master": "terminal"
}
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ require (
github.com/golang/protobuf v1.2.0 // indirect
github.com/gorilla/websocket v1.3.0 // indirect
github.com/jmank88/nuts v0.3.0 // indirect
github.com/mitchellh/gox v0.4.0 // indirect
github.com/mitchellh/iochan v1.0.0 // indirect
github.com/nightlyone/lockfile v0.0.0-20180618180623-0ad87eef1443 // indirect
github.com/pelletier/go-toml v1.2.0 // indirect
github.com/pkg/errors v0.8.1 // indirect
Expand Down
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ github.com/gorilla/websocket v1.3.0 h1:r/LXc0VJIMd0rCMsc6DxgczaQtoCwCLatnfXmSYcX
github.com/gorilla/websocket v1.3.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ=
github.com/jmank88/nuts v0.3.0 h1:UZUboV1LXVkBUTHLRTEZrDfAL7QYgj9jEsBCiJHrxEM=
github.com/jmank88/nuts v0.3.0/go.mod h1:kTf5cyoLibZUQg9Lns/gteKO1d/5XrhacD1QVKviAKk=
github.com/mitchellh/gox v0.4.0 h1:lfGJxY7ToLJQjHHwi0EX6uYBdK78egf954SQl13PQJc=
github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg=
github.com/mitchellh/iochan v1.0.0 h1:C+X3KsSTLFVBr/tK1eYN/vs4rJcvsiLU338UhYPJWeY=
github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY=
github.com/nightlyone/lockfile v0.0.0-20180618180623-0ad87eef1443 h1:+2OJrU8cmOstEoh0uQvYemRGVH1O6xtO2oANUWHFnP0=
github.com/nightlyone/lockfile v0.0.0-20180618180623-0ad87eef1443/go.mod h1:JbxfV1Iifij2yhRjXai0oFrbpxszXHRx1E5RuM26o4Y=
github.com/pelletier/go-toml v1.2.0 h1:T5zMGML61Wp+FlcbWjRDT7yAxhJNAiPPLOFECq181zc=
Expand Down

0 comments on commit 3a557cf

Please sign in to comment.