mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-10 21:33:47 +02:00
Updated the manuals
This commit is contained in:
@ -6,7 +6,7 @@ This PowerShell script builds a Git repository by supporting build systems such
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./build-repo.ps1 [[-path] <String>] [<CommonParameters>]
|
||||
/home/markus/Repos/PowerShell/scripts/build-repo.ps1 [[-path] <String>] [<CommonParameters>]
|
||||
|
||||
-path <String>
|
||||
Specifies the path to the Git repository (default is current working directory)
|
||||
@ -28,7 +28,7 @@ Example
|
||||
PS> ./build-repo.ps1 C:\Repos\ninja
|
||||
⏳ Building 📂ninja using CMakeLists.txt into 📂ninja/_Build_Results...
|
||||
...
|
||||
✔️ Built 📂ninja repository in 47 sec.
|
||||
✅ Built 📂ninja repository in 47 sec.
|
||||
|
||||
```
|
||||
|
||||
@ -54,7 +54,7 @@ Script Content
|
||||
PS> ./build-repo.ps1 C:\Repos\ninja
|
||||
⏳ Building 📂ninja using CMakeLists.txt into 📂ninja/_Build_Results...
|
||||
...
|
||||
✔️ Built 📂ninja repository in 47 sec.
|
||||
✅ Built 📂ninja repository in 47 sec.
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -188,7 +188,7 @@ try {
|
||||
|
||||
$repoDirName = (Get-Item "$path").Name
|
||||
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
||||
"✔️ Built 📂$repoDirName repository in $elapsed sec."
|
||||
"✅ Built 📂$repoDirName repository in $elapsed sec."
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
@ -196,4 +196,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of build-repo.ps1 as of 08/15/2024 09:50:44)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of build-repo.ps1 as of 11/08/2024 12:34:45)*
|
||||
|
Reference in New Issue
Block a user