mirror of
https://github.com/mautrix/signal.git
synced 2025-03-14 14:15:36 +00:00
11 lines
303 B
Bash
Executable file
11 lines
303 B
Bash
Executable file
#!/bin/sh
|
|
PKG_IMPORT_PATH="go.mau.fi/mautrix-signal/pkg/signalmeow/signalpb"
|
|
for file in *.proto
|
|
do
|
|
# Requires https://go-review.googlesource.com/c/protobuf/+/369634
|
|
protoc --go_out=. \
|
|
--go_opt=M${file}=$PKG_IMPORT_PATH \
|
|
--go_opt=paths=source_relative \
|
|
--go_opt=embed_raw=true \
|
|
$file
|
|
done
|