remove unused generated code
This commit is contained in:
parent
a4a19f5293
commit
8d58100d89
5
Makefile
5
Makefile
@ -4,7 +4,10 @@ all:
|
||||
|
||||
js_proto:
|
||||
protoc -I=. -I=${PROTOBUF_TAGGER_PATH} --ts_out=./frontend/wizard-vue/src/urlmaker ./proto/specs.proto
|
||||
sed -i '1 i //@ts-nocheck' ./frontend/wizard-vue/src/urlmaker/google/protobuf/descriptor.ts
|
||||
# Remove unneeded code left from GO plugin (and corresponsing unused import)
|
||||
sed -i -E '/import.+tagger\/tagger/d' ./frontend/wizard-vue/src/urlmaker/proto/specs.ts
|
||||
rm -rf ./frontend/wizard-vue/src/urlmaker/google
|
||||
rm -rf ./frontend/wizard-vue/src/urlmaker/tagger
|
||||
|
||||
go_proto:
|
||||
protoc -I=. -I=${PROTOBUF_TAGGER_PATH} --go_out=. ./proto/specs.proto
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -3,7 +3,6 @@
|
||||
* compiler version: 5.29.3
|
||||
* source: proto/specs.proto
|
||||
* git: https://github.com/thesayyn/protoc-gen-ts */
|
||||
import * as dependency_1 from "./../tagger/tagger";
|
||||
import * as pb_1 from "google-protobuf";
|
||||
export namespace rssalchemy {
|
||||
export class Specs extends pb_1.Message {
|
||||
|
||||
@ -1,7 +0,0 @@
|
||||
/**
|
||||
* Generated by the protoc-gen-ts. DO NOT EDIT!
|
||||
* compiler version: 5.29.3
|
||||
* source: tagger/tagger.proto
|
||||
* git: https://github.com/thesayyn/protoc-gen-ts */
|
||||
import * as dependency_1 from "./../google/protobuf/descriptor";
|
||||
export namespace tagger { }
|
||||
Loading…
x
Reference in New Issue
Block a user