docs: fix Phase0a Step5 to use -p:ci=true (skip source-gen prebuild, matches Dockerfile)
Some checks failed
.NET Core / build (push) Has been cancelled
Some checks failed
.NET Core / build (push) Has been cancelled
This commit is contained in:
@@ -72,13 +72,13 @@ Expected: yeni commit + önceki `docs: Castle Siege umbrella design spec` commit
|
|||||||
|
|
||||||
- [ ] **Step 5: Startup projesinin derlendiğini doğrula (image'den önce hızlı kontrol)**
|
- [ ] **Step 5: Startup projesinin derlendiğini doğrula (image'den önce hızlı kontrol)**
|
||||||
|
|
||||||
Dockerfile'ın derlediği projenin aynısını lokalde derle — tam solution yerine (daha hızlı, ilgisiz projelerden gürültü yok).
|
Dockerfile'ın derlediği projenin aynısını, Dockerfile'ın kullandığı `-p:ci=true` bayrağıyla derle. `ci=true`, Persistence.csproj'daki source-generator PreBuild target'ını atlar (`Condition="'$(ci)'!='true'"`) — Generated.cs dosyaları zaten repo'da commit'li olduğu için Docker/CI bunları kullanır. `ci=true` VERMEZSEN generator `--no-build` sıralama hatası verir (gerçek hata değil, sadece lokal dev regenerasyon yolu).
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd "/d/OpenMU/MU Client_Mobile 1.04d - Season 6E3/AdamuSw/src" && \
|
cd "/d/OpenMU/MU Client_Mobile 1.04d - Season 6E3/AdamuSw/src" && \
|
||||||
dotnet build Startup/MUnique.OpenMU.Startup.csproj -c Release --nologo -clp:ErrorsOnly 2>&1 | tail -20
|
dotnet build Startup/MUnique.OpenMU.Startup.csproj -c Release -p:ci=true --nologo -clp:ErrorsOnly 2>&1 | tail -20
|
||||||
```
|
```
|
||||||
Expected: `Build succeeded` (hata yok). Uyarılar kabul edilebilir.
|
Expected: `Build succeeded` / `Oluşturma başarılı oldu` (0 hata). Uyarılar kabul edilebilir.
|
||||||
|
|
||||||
- [ ] **Step 6: Gitea'ya push et**
|
- [ ] **Step 6: Gitea'ya push et**
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user