Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fcf4b38

Browse files
committed
Rename PowerShellGitHubDev.psm1 to build.psm1
1 parent 8ce3dbb commit fcf4b38

10 files changed

Lines changed: 16 additions & 16 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Get PowerShell
3131
| Get **Binaries** | [Releases][] | [Artifacts][] | [Artifacts][] | [Releases][] | TBD |
3232

3333
Building summary: `Start-PSBuild` from the module
34-
`./PowerShellGitHubDev.psm1` (self-host on Linux / OS X)
34+
`./build.psm1` (self-host on Linux / OS X)
3535

3636
See [Linux releases](docs/installation/linux.md) and
3737
[Windows artifacts](docs/installation/windows.md) installation

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ install:
1818
- ps: Set-Content c:\users\appveyor\.ssh\id_rsa $fileContent
1919
- git config --global [email protected]:.insteadOf https://github.com/
2020
- git submodule update --init -- src/windows-build src/Modules/Pester
21-
- ps: Import-Module .\PowerShellGitHubDev.psm1; Start-PSBootstrap
21+
- ps: Import-Module .\build.psm1; Start-PSBootstrap
2222

2323
build_script:
2424
- ps: |
2525
$ErrorActionPreference = 'Stop'
26-
Import-Module .\PowerShellGitHubDev.psm1
26+
Import-Module .\build.psm1
2727
Start-PSBuild -Publish
2828
Start-PSBuild -FullCLR
2929
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ function script:Get-StronglyTypeCsFileForResx
834834
$body = @'
835835
//------------------------------------------------------------------------------
836836
// <auto-generated>
837-
// This code was generated by a Start-ResGen funciton from PowerShellGitHubDev.psm1.
837+
// This code was generated by a Start-ResGen funciton from build.psm1.
838838
// To add or remove a member, edit your .ResX file then rerun Start-ResGen.
839839
//
840840
// Changes to this file may cause incorrect behavior and will be lost if

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
if hash powershell 2>/dev/null; then
44
echo 'Continuing with `powershell -c Start-PSBuild`'
5-
powershell -c "Import-Module ./PowerShellGitHubDev.psm1; Start-PSBuild"
5+
powershell -c "Import-Module ./build.psm1; Start-PSBuild"
66
else
77
echo 'No `powershell`, see docs/building/linux.md or osx.md to build PowerShell!'
88
fi

docs/building/linux.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ import our module, bootsrap the dependencies, and build!
6565
In PowerShell:
6666

6767
```powershell
68-
Import-Module ./PowerShellGitHubDev.psm1
68+
Import-Module ./build.psm1
6969
Start-PSBootstrap
7070
```
7171

@@ -98,7 +98,7 @@ uninstall prior any prior versions.
9898
Build using our module
9999
======================
100100

101-
We maintain a [PowerShell module](../../PowerShellGitHubDev.psm1) with
101+
We maintain a [PowerShell module](../../build.psm1) with
102102
the function `Start-PSBuild` to build PowerShell. Since this is
103103
PowerShell code, it requires self-hosting. If you have followed the
104104
toolchain setup section above, you should have `powershell` installed.
@@ -108,7 +108,7 @@ toolchain setup section above, you should have `powershell` installed.
108108
> in Bash; see [Build manually][#Build manually] below.
109109
110110
```powershell
111-
Import-Module ./PowerShellGitHubDev.psm1
111+
Import-Module ./build.psm1
112112
Start-PSBuild
113113
```
114114

docs/building/windows-core.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ build PowerShell. The `Start-PSBootstrap` function will automatically
2929
install it and add it to your path:
3030

3131
```powershell
32-
Import-Module ./PowerShellGitHubDev.psm1
32+
Import-Module ./build.psm1
3333
Start-PSBootstrap
3434
```
3535

@@ -62,11 +62,11 @@ CLI can cause odd failures when running. Please check your version.
6262
Build using our module
6363
======================
6464

65-
We maintain a [PowerShell module](../../PowerShellGitHubDev.psm1) with
65+
We maintain a [PowerShell module](../../build.psm1) with
6666
the function `Start-PSBuild` to build PowerShell.
6767

6868
```powershell
69-
Import-Module ./PowerShellGitHubDev.psm1
69+
Import-Module ./build.psm1
7070
Start-PSBuild
7171
```
7272

docs/building/windows-full.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ choco install cmake.portable
4545
Build using our module
4646
======================
4747

48-
Use `Start-PSBuild -FullCLR` from the `PowerShellGitHubDev.psm1`
48+
Use `Start-PSBuild -FullCLR` from the `build.psm1`
4949
module.
5050

5151
Because the `ConsoleHost` project (*not* the `Host` project) is a

docs/workflow/mapping.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Values are relative file paths in PowerShell/PowerShell GitHub project.
1515
We used to have a submodule at this path.
1616
If you replace this `src\monad` with path to the **admin** enlistment, you will get the mapping to source depot.
1717

18-
### PowerShellGitHubDev.psm1
18+
### build.psm1
1919

2020
Our dev module contains a number of functions to work that can be used to work with this mapping file.
2121

docs/workflow/resources.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ If you just updated the string value, that's all you need to do: no need to re-g
2525

2626
When you adding or removing string, `.cs` file need to be changed.
2727

28-
1. Run `Start-ResGen` function from `PowerShellGitHubDev.psm1`
28+
1. Run `Start-ResGen` function from `build.psm1`
2929
1. Make sure your code is building with newly generated resources (run `Start-PSBuild`).
3030
1. Go to submodule (`cd src\windows-build`) and perform the [submodule commit dance](../git/committing.md).
3131
Follow working with [submodule rules](../../.github/CONTRIBUTING.md#submodules)

test/fullclr/PowerShellGithubDev.Tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Describe 'PowerShellGithubDev.psm1 and powershell.exe' {
1+
Describe 'build.psm1 and powershell.exe' {
22
Context '$env:DEVPATH assemblies loading' {
33
It 'has $env:DEVPATH set' {
44
$env:DEVPATH | Should Not Be $null
@@ -29,4 +29,4 @@ Describe 'PowerShellGithubDev.psm1 and powershell.exe' {
2929
Join-Path $env:DEVPATH Microsoft.PowerShell.Security.dll)
3030
}
3131
}
32-
}
32+
}

0 commit comments

Comments
 (0)