diff options
author | Tim Cooper <tim.cooper@layeh.com> | 2016-03-27 20:06:07 +0300 |
---|---|---|
committer | Tim Cooper <tim.cooper@layeh.com> | 2016-03-27 20:06:07 +0300 |
commit | 9d091cc32aeeb389b833587df0a525456c933a4c (patch) | |
tree | 0bc32651239424295d90154e6c9faa3ca2a2040f /pkg | |
parent | 4d656053e4aa44044c1ad02d1a4562e6af9708fc (diff) |
fix proto sync script
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/mumbleproto/Makefile | 6 | ||||
-rwxr-xr-x | pkg/mumbleproto/sync.bash | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/pkg/mumbleproto/Makefile b/pkg/mumbleproto/Makefile new file mode 100644 index 0000000..c8751b3 --- /dev/null +++ b/pkg/mumbleproto/Makefile @@ -0,0 +1,6 @@ +Mumble.proto: + curl -O https://raw.githubusercontent.com/mumble-voip/mumble/master/src/Mumble.proto + sed -i -e 's,MumbleProto,mumbleproto,' $@ + +Mumble.pb.go: Mumble.proto + protoc --go_out=. $< diff --git a/pkg/mumbleproto/sync.bash b/pkg/mumbleproto/sync.bash deleted file mode 100755 index 42a2745..0000000 --- a/pkg/mumbleproto/sync.bash +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Syncs the Mumble.proto file with the main Mumble repo - -curl -O https://raw.github.com/mumble-voip/mumble/master/src/Mumble.proto -sed -i '' -e 's,MumbleProto,mumbleproto,' Mumble.proto |