added dependency on npmInstall to ensure protobufjs is installed in bb server frontend
parent
08d9bd6217
commit
fa4656f0a9
|
@ -45,10 +45,13 @@ task generateProtobufBundle(type: NpmTask) {
|
|||
setEnvironment([PROTO_FILES: protoFiles.join(" ")]);
|
||||
generateProtobufBundle.args = ['run', 'protoc']
|
||||
}
|
||||
|
||||
dependsOn npmInstall
|
||||
}
|
||||
generateProtobufBundle.description = "Generate the bundle.js/bundle.d.ts files containing compiled protobufs"
|
||||
|
||||
|
||||
npm_run_build.dependsOn(npm_install)
|
||||
npm_run_build.dependsOn(generateProtobufBundle)
|
||||
npm_start.dependsOn(generateProtobufBundle)
|
||||
|
||||
|
|
Loading…
Reference in New Issue