Compile protocol buffers as part of yarn grunt dev

This commit is contained in:
Daniel Gasienica 2018-05-07 14:12:38 -04:00
parent c5d6e4a602
commit f88ebdf8b7
4 changed files with 14 additions and 1 deletions

View file

@ -194,6 +194,10 @@ module.exports = function(grunt) {
files: ['./libtextsecure/*.js', './libtextsecure/storage/*.js'],
tasks: ['concat:libtextsecure'],
},
protobuf: {
files: ['./protos/SignalService.proto'],
tasks: ['exec:build-protobuf'],
},
sass: {
files: ['./stylesheets/*.scss'],
tasks: ['sass'],
@ -218,6 +222,9 @@ module.exports = function(grunt) {
transpile: {
cmd: 'yarn transpile',
},
'build-protobuf': {
cmd: 'yarn build-protobuf',
},
},
'test-release': {
osx: {
@ -503,6 +510,7 @@ module.exports = function(grunt) {
'copy:deps',
'sass',
'date',
'exec:build-protobuf',
'exec:transpile',
]);
};