diff --git a/Makefile b/Makefile index dde85f4..41c3ad8 100644 --- a/Makefile +++ b/Makefile @@ -176,12 +176,12 @@ deps: # Build for production build-prod: - @VERSION=$${VERSION:-unknown}; \ + VERSION=$${VERSION:-unknown}; \ COMMIT_ID=$${COMMIT_ID:-unknown}; \ BUILD_TIME=$${BUILD_TIME:-unknown}; \ GO_VERSION=$${GO_VERSION:-unknown}; \ LDFLAGS="-X 'github.com/Tencent/WeKnora/internal/handler.Version=$$VERSION' -X 'github.com/Tencent/WeKnora/internal/handler.CommitID=$$COMMIT_ID' -X 'github.com/Tencent/WeKnora/internal/handler.BuildTime=$$BUILD_TIME' -X 'github.com/Tencent/WeKnora/internal/handler.GoVersion=$$GO_VERSION'"; \ - GOOS=linux go build -installsuffix cgo -ldflags="-w -s $$LDFLAGS" -o $(BINARY_NAME) $(MAIN_PATH) + GOOS=linux go build -v -installsuffix cgo -ldflags="-w -s $$LDFLAGS" -o $(BINARY_NAME) $(MAIN_PATH) clean-db: @echo "Cleaning database..." diff --git a/frontend/src/components/menu.vue b/frontend/src/components/menu.vue index d5ca73b..efd7f73 100644 --- a/frontend/src/components/menu.vue +++ b/frontend/src/components/menu.vue @@ -78,12 +78,30 @@