mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-02 10:59:14 +01:00
Rename to build-repo.ps1 and build-repos.ps1
This commit is contained in:
parent
9e448e6a90
commit
fd84a498ac
@ -1,6 +1,8 @@
|
||||
Script,Description
|
||||
add-firewall-rules.ps1, Adds firewall rules to the given executables (needs admin rights)
|
||||
add-memo.ps1, Adds the given memo text to $HOME/Memos.csv
|
||||
build-repo.ps1, Builds a Git repository
|
||||
build-repos.ps1, Builds all Git repositories in a folder
|
||||
cd-desktop.ps1, Change the working directory to the user's desktop folder
|
||||
cd-docs.ps1, Change the working directory to the user's documents folder
|
||||
cd-downloads.ps1, Change the working directory to the user's downloads folder
|
||||
@ -150,8 +152,6 @@ locate-city.ps1, Prints the geographic location of the given city
|
||||
locate-ipaddress.ps1, Prints the geographic location of the given IP address
|
||||
locate-zip-code.ps1, Prints the geographic location of the given zip-code
|
||||
make-install.ps1, Installs built executables and libs to the installation directory
|
||||
make-repo.ps1, Builds the current/given Git repository
|
||||
make-repos.ps1, Builds all Git repositories under the current/given directory
|
||||
moon.ps1, Prints the current moon phase
|
||||
mute-audio.ps1, Mutes the audio device
|
||||
open-browser.ps1, Starts the default Web browser
|
||||
|
Can't render this file because it has a wrong number of fields in line 89.
|
@ -195,6 +195,8 @@ Mega Collection of PowerShell Scripts
|
||||
|
||||
| Script | Description | Help |
|
||||
| ---------------------------------------------------- | ------------------------------------------------------------------ | --------------------------------------- |
|
||||
| [build-repo.ps1](Scripts/build-repo.ps1) | Builds a Git repository | [Help](Docs/build-repo.md) |
|
||||
| [build-repos.ps1](Scripts/build-repos.ps1) | Builds all Git repositories in a folder | [Help](Docs/build-repos.md) |
|
||||
| [cherry-picker.ps1](Scripts/cherry-picker.ps1) | Cherry-picks a Git commit into multiple branches | [Help](Docs/cherry-picker.md) |
|
||||
| [clean-repo.ps1](Scripts/clean-repo.ps1) | Cleans a Git repository from untracked files (including submodules) | [Help](Docs/clean-repo.md) |
|
||||
| [clean-repos.ps1](Scripts/clean-repos.ps1) | Cleans all Git repositories under a directory from untracked files (including submodules) | [Help](Docs/clean-repos.md) |
|
||||
@ -208,8 +210,6 @@ Mega Collection of PowerShell Scripts
|
||||
| [list-latest-tags.ps1](Scripts/list-latest-tags.ps1) | Lists the latests tags in all Git repositories under a directory | [Help](Docs/list-latest-tags.md) |
|
||||
| [list-submodules.ps1](Scripts/list-submodules.ps1) | Lists the submodules in a Git repository | [Help](Docs/list-submodules.md) |
|
||||
| [list-tags.ps1](Scripts/list-tags.ps1) | Lists all tags in a Git repository | [Help](Docs/list-tags.md) |
|
||||
| [make-repo.ps1](Scripts/make-repo.ps1) | Builds a Git repository | [Help](Docs/make-repo.md) |
|
||||
| [make-repos.ps1](Scripts/make-repos.ps1) | Builds all Git repositories under a directory | [Help](Docs/make-repos.md) |
|
||||
| [new-branch.ps1](Scripts/new-branch.ps1) | Creates a new branch in a Git repository | [Help](Docs/new-branch.md) |
|
||||
| [new-tag.ps1](Scripts/new-tag.ps1) | Creates a new tag in a Git repository | [Help](Docs/new-tag.md) |
|
||||
| [pull-repo.ps1](Scripts/pull-repo.ps1) | Pulls updates for a Git repository (including submodules) | [Help](Docs/pull-repo.md) |
|
||||
|
@ -1,11 +1,12 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Builds a Git repository supporting cmake,configure,autogen,Imakefile,Makefile
|
||||
Builds a Git repository
|
||||
.DESCRIPTION
|
||||
make-repo.ps1 [<RepoDir>]
|
||||
<RepoDir> is the path to the Git repository
|
||||
Supports building with cmake, configure, autogen, Imakefile and Makefile.
|
||||
.PARAMETER RepoDir
|
||||
Specifies the path to the Git repository.
|
||||
.EXAMPLE
|
||||
PS> ./make-repo C:\MyRepo
|
||||
PS> ./build-repo C:\MyRepo
|
||||
.NOTES
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
.LINK
|
@ -4,7 +4,7 @@
|
||||
.DESCRIPTION
|
||||
make-repos.ps1 [<ParentDir>]
|
||||
.EXAMPLE
|
||||
PS> ./make-repos C:\MyRepos
|
||||
PS> ./build-repos C:\MyRepos
|
||||
.NOTES
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
.LINK
|
||||
@ -25,7 +25,7 @@ try {
|
||||
|
||||
[int]$Step = 1
|
||||
foreach ($Folder in $Folders) {
|
||||
& "$PSScriptRoot/make-repo.ps1" "$Folder"
|
||||
& "$PSScriptRoot/build-repo.ps1" "$Folder"
|
||||
$Step++
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user