feat 目录修改名称

This commit is contained in:
2026-01-12 12:44:19 +08:00
parent b34e628c2c
commit da26f9bbc9
29 changed files with 129 additions and 125 deletions

View File

@@ -0,0 +1,17 @@
$gen = "gen"
if (!(Test-Path $gen)) { mkdir $gen | Out-Null }
$files = Get-ChildItem sources/*.proto | ForEach-Object { $_.Name }
protoc `
--proto_path=sources `
--go_out=$gen `
$files
$clientDir = "$gen/client"
if (!(Test-Path $clientDir)) { mkdir $clientDir | Out-Null }
protoc `
--proto_path=sources `
--csharp_out=$clientDir `
$files