mirror of
https://github.com/Tencent/WeKnora.git
synced 2026-09-17 16:42:24 +08:00
fix:修复make dev-app里面脚本问题
This commit is contained in:
+1
-1
@@ -295,7 +295,7 @@ start_app() {
|
||||
log_warning "提示: 安装 Air 可以实现代码修改后自动重启"
|
||||
log_info "安装命令: go install github.com/air-verse/air@latest"
|
||||
LDFLAGS="$(./scripts/get_version.sh ldflags) -X 'google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=warn'"
|
||||
go run -ldflags="$LDFLAGS" ./cmd/server/
|
||||
go run -ldflags="$LDFLAGS" ./cmd/server
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user