Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/grumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorTim Cooper <tim.cooper@layeh.com>2016-03-27 20:06:07 +0300
committerTim Cooper <tim.cooper@layeh.com>2016-03-27 20:06:07 +0300
commit9d091cc32aeeb389b833587df0a525456c933a4c (patch)
tree0bc32651239424295d90154e6c9faa3ca2a2040f /pkg
parent4d656053e4aa44044c1ad02d1a4562e6af9708fc (diff)
fix proto sync script
Diffstat (limited to 'pkg')
-rw-r--r--pkg/mumbleproto/Makefile6
-rwxr-xr-xpkg/mumbleproto/sync.bash5
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