Trying to build without CMake installed gives a confusing error message
還沒有人認領這個 Issue。
評估
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 58/100
- Issue 類型
- 缺陷
- 描述清晰度
- 描述清楚
- 活躍度
- 停滯
- 技術堆疊
- cmake, powershell
- 領域
- build-system
研究方向
從第 71 行的 build.libgit2.ps1 開始,在 cmake.exe 無法使用時重現建置流程。檢查如何處理 Get-Command cmake.exe 的空結果,然後在沒有 CMake 的情況下執行指令碼,以確認它回報的是清楚且可採取行動的錯誤,而不是 IndexOutOfRangeException。
由索引模型根據 Issue 內容生成。
描述
Namely
.\build.libgit2.ps1 14
Index was outside the bounds of the array.
At C:\source\github.com\libgit2sharp\libgit2sharp.nativebinaries\build.libgit2.ps1:71 char:16
+ $cmake = @(Get-Command cmake.exe)[0] 2>$null
+ ~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (:) [], IndexOutOfRangeException
+ FullyQualifiedErrorId : System.IndexOutOfRangeException
which seems to come from @(Get-Command cmake.exe) returning an empty array.
- 主要語言
- PowerShell
- 星號
- 35
- 分支
- 74
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
libgit2/libgit2sharp.nativebinaries 的其他 Issue
-
難度 3/5 1-2 天 新手友好度 35/100
-
難度 5/5 一週以上 新手友好度 25/100
-
難度 4/5 3-5 天 新手友好度 35/100
libgit2/libgit2sharp.nativebinaries#158 · 2 個 reaction ·
-
難度 3/5 1-2 天 新手友好度 25/100
libgit2/libgit2sharp.nativebinaries#156 · 1 則留言 ·
-
難度 4/5 3-5 天 新手友好度 35/100
libgit2/libgit2sharp.nativebinaries#151 · 5 則留言 ·
查看 libgit2/libgit2sharp.nativebinaries 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 76/100
bazel-contrib/rules_go#4721 · 2 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 68/100
-
難度 2/5 1-3 小時 新手友好度 78/100
-
agent-research-recommend agent-review-finding chore
難度 2/5 1-3 小時 新手友好度 75/100
jordansmall/spindrift#3717 · 1 則留言 ·
-
type/automation type/tech-debt
難度 2/5 1-3 小時 新手友好度 78/100