MM-26834 - Move opentracing into a separate package (#15011)

This commit is contained in:
Eli Yukelzon
2020-07-15 12:59:11 +03:00
committed by GitHub
parent ef63afac21
commit b15c0484c6
5 changed files with 63 additions and 41 deletions

View File

@@ -208,7 +208,7 @@ endif
app-layers: ## Extract interface from App struct
$(GO) get -modfile=go.tools.mod github.com/reflog/struct2interface
$(GOBIN)/struct2interface -f "app" -o "app/app_iface.go" -p "app" -s "App" -i "AppIface" -t ./app/layer_generators/app_iface.go.tmpl
$(GO) run ./app/layer_generators -in ./app/app_iface.go -out ./app/opentracing_layer.go -template ./app/layer_generators/opentracing_layer.go.tmpl
$(GO) run ./app/layer_generators -in ./app/app_iface.go -out ./app/opentracing/opentracing_layer.go -template ./app/layer_generators/opentracing_layer.go.tmpl
i18n-extract: ## Extract strings for translation from the source code
$(GO) get -modfile=go.tools.mod github.com/mattermost/mattermost-utilities/mmgotool