Skip to content

Commit 0137757

Browse files
committed
0.2.1 Release
1 parent 5b470c1 commit 0137757

191 files changed

Lines changed: 28578 additions & 49 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Thank you for opening an issue on ModuleBuild. To
2+
improve the speed of resolution please review the following guidelines and
3+
common troubleshooting steps below before creating the issue:
4+
5+
- **If following a tutorial or guide be sure you didn't miss a step.** Carefully
6+
check all of the steps and commands to run have been followed. Consult the
7+
wiki if you're unsure or have questions about steps in a guide/tutorial.
8+
9+
If you're sure this issue is a defect in the code and checked the steps above
10+
please fill in the following fields to provide enough troubleshooting information.
11+
You may delete the guideline and text above to just leave the following details:
12+
13+
- OS: **INSERT OPERATING SYSTEM HERE**
14+
- PowerShell Version: **INSERT POWERSHELL VERSION HERE**
15+
- List the steps to reproduce the problem below (if possible attach a screenshot and/or link to the code): **LIST REPRO STEPS BELOW**

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Thank you for creating a pull request to contribute to ModuleBuild's code!
2+
Before you open the request please review the following guidelines and tips to
3+
help it be more easily integrated:
4+
5+
- **Describe the scope of your change--i.e. what the change does and what parts
6+
of the code were modified.** This will help us understand any risks of integrating
7+
the code.
8+
9+
- **Describe any known limitations with your change.** For example if the change
10+
doesn't apply to a supported platform of the library please mention it.
11+
12+
- **Please run any tests or examples that can exercise your modified code.** We
13+
strive to not break users of the code and running tests/examples helps with this
14+
process.
15+
16+
Thank you again for contributing! We will try to test and integrate the change
17+
as soon as we can, but be aware we have many GitHub repositories to manage and
18+
can't immediately respond to every request. There is no need to bump or check in
19+
on a pull request (it will clutter the discussion of the request).
20+
21+
Also don't be worried if the request is closed or not integrated--sometimes the
22+
priorities of ModuleBuild's GitHub code might not match the
23+
priorities of the pull request. Don't fret, the open source community thrives on
24+
forks and GitHub makes it easy to keep your changes in a forked repo.
25+
26+
After reviewing the guidelines above you can delete this text from the pull request.

build/docs/Additional/ChangeLog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
Project Site: [https://github.com/zloeber/ModuleBuild](https://github.com/zloeber/ModuleBuild)
44

5+
## Version 0.2.1
6+
- Merged pull request #3 to resolve initialization issues for new modules in directories with spaces in their path.
7+
- Added additional github integration (via .github folder creation with pull and issue template markdown files)
8+
- Fixed improper spelling of 'license' in license creation templating.
9+
510
## Version 0.1.10
611
- Fixed the -InsertCBH build task.
712
- Fixed the missing documentation platyps output to show the actual found line that indicates missing CBH.

build/dotsource/Get-ErrorInfo.ps1

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
function Script:Get-ErrorInfo {
2+
param (
3+
[Parameter(ValueFrompipeline)]
4+
[Management.Automation.ErrorRecord]$errorRecord
5+
)
6+
7+
process {
8+
$info = [PSCustomObject]@{
9+
Exception = $errorRecord.Exception.Message
10+
Reason = $errorRecord.CategoryInfo.Reason
11+
Target = $errorRecord.CategoryInfo.TargetName
12+
Script = $errorRecord.InvocationInfo.ScriptName
13+
Line = $errorRecord.InvocationInfo.ScriptLineNumber
14+
Column = $errorRecord.InvocationInfo.OffsetInLine
15+
Date = Get-Date
16+
User = $env:username
17+
}
18+
19+
$info
20+
}
21+
}

buildreports/CodeHealthReport-Private.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ <h1>
189189
<div class="col-sm-4 col-md-5 col-lg-4 right-header">
190190
<h5>
191191
Analyzed path :<span class="right-header-data"> src\private</span><br>
192-
Analysis date :<span class="right-header-data"> 2017-10-20 18:36:21Z</span>
192+
Analysis date :<span class="right-header-data"> 2017-10-30 12:18:57Z</span>
193193
</h5>
194194
</div>
195195
</div>

buildreports/CodeHealthReport-Public.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ <h1>
189189
<div class="col-sm-4 col-md-5 col-lg-4 right-header">
190190
<h5>
191191
Analyzed path :<span class="right-header-data"> src\public</span><br>
192-
Analysis date :<span class="right-header-data"> 2017-10-20 18:36:14Z</span>
192+
Analysis date :<span class="right-header-data"> 2017-10-30 12:18:50Z</span>
193193
</h5>
194194
</div>
195195
</div>

docs/ChangeLog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
Project Site: [https://github.com/zloeber/ModuleBuild](https://github.com/zloeber/ModuleBuild)
44

5+
## Version 0.2.1
6+
- Merged pull request #3 to resolve initialization issues for new modules in directories with spaces in their path.
7+
- Added additional github integration (via .github folder creation with pull and issue template markdown files)
8+
- Fixed improper spelling of 'license' in license creation templating.
9+
510
## Version 0.1.10
611
- Fixed the -InsertCBH build task.
712
- Fixed the missing documentation platyps output to show the actual found line that indicates missing CBH.

plaster/ModuleBuild/plasterManifest.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
templateType="Project" xmlns="http://www.microsoft.com/schemas/PowerShell/Plaster/v1">
55
<metadata>
66
<name>ModuleBuild</name>
7-
<id>f3490e1f-a865-48f4-88ad-4214ee03680f</id>
7+
<id>ce1e03f8-a225-4e0c-a242-4888d0a438d1</id>
88
<version>0.0.8</version>
99
<title>New ModuleBuild Project</title>
1010
<description>Create a new PowerShell Module with a ModuleBuild wrapper</description>
@@ -151,7 +151,7 @@
151151
tags="${PLASTER_PARAM_ModuleTags}"
152152
companyName="${PLASTER_PARAM_ModuleAuthor}"
153153
author="${PLASTER_PARAM_ModuleAuthor}"
154-
licenseUri="${PLASTER_PARAM_ModuleWebsite}/raw/master/license.md"
154+
licenseUri="${PLASTER_PARAM_ModuleWebsite}/raw/master/LICENSE.md"
155155
projectUri="${PLASTER_PARAM_ModuleWebsite}"
156156
rootModule="${PLASTER_PARAM_ModuleName}.psm1"
157157
variablesToExport=""
@@ -170,6 +170,9 @@
170170
<templateFile
171171
source="scaffold\vscode\*"
172172
destination=".vscode" />
173+
<templateFile
174+
source="scaffold\github\*"
175+
destination=".github" />
173176
<file
174177
source="scaffold\src\other\*"
175178
destination="src\other" />
@@ -207,19 +210,19 @@
207210
destination="build\tools" />
208211
<templateFile
209212
source="scaffold\licenses\CreativeCommons.md"
210-
destination="License.md"
213+
destination="LICENSE.md"
211214
condition="$PLASTER_PARAM_ProjectLicense -eq &quot;CreativeCommons&quot;" />
212215
<templateFile
213216
source="scaffold\licenses\MIT.md"
214-
destination="License.md"
217+
destination="LICENSE.md"
215218
condition="$PLASTER_PARAM_ProjectLicense -eq &quot;MIT&quot;" />
216219
<templateFile
217220
source="scaffold\licenses\Apache.md"
218-
destination="License.md"
221+
destination="LICENSE.md"
219222
condition="$PLASTER_PARAM_ProjectLicense -eq &quot;Apache&quot;" />
220223
<templateFile
221224
source="scaffold\licenses\GPL.md"
222-
destination="License.md"
225+
destination="LICENSE.md"
223226
condition="$PLASTER_PARAM_ProjectLicense -eq &quot;GPL&quot;" />
224227
<templateFile
225228
source="scaffold\ModuleName.template"
@@ -242,9 +245,6 @@
242245
<templateFile
243246
source="scaffold\build\docs\*"
244247
destination="build\docs" />
245-
<templateFile
246-
source="scaffold\build\docs\ReadTheDocs\*"
247-
destination="build\docs\ReadTheDocs" />
248248
<templateFile
249249
source="scaffold\build\docs\en-US\about_ModuleName.help.txt"
250250
destination="build\docs\en-US\about_${PLASTER_PARAM_ModuleName}.help.txt" />
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
function Script:Get-ErrorInfo {
2+
param (
3+
[Parameter(ValueFrompipeline)]
4+
[Management.Automation.ErrorRecord]$errorRecord
5+
)
6+
7+
process {
8+
$info = [PSCustomObject]@{
9+
Exception = $errorRecord.Exception.Message
10+
Reason = $errorRecord.CategoryInfo.Reason
11+
Target = $errorRecord.CategoryInfo.TargetName
12+
Script = $errorRecord.InvocationInfo.ScriptName
13+
Line = $errorRecord.InvocationInfo.ScriptLineNumber
14+
Column = $errorRecord.InvocationInfo.OffsetInLine
15+
Date = Get-Date
16+
User = $env:username
17+
}
18+
19+
$info
20+
}
21+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Thank you for opening an issue on <%=$PLASTER_PARAM_ModuleName%>. To
2+
improve the speed of resolution please review the following guidelines and
3+
common troubleshooting steps below before creating the issue:
4+
5+
- **If following a tutorial or guide be sure you didn't miss a step.** Carefully
6+
check all of the steps and commands to run have been followed. Consult the
7+
wiki if you're unsure or have questions about steps in a guide/tutorial.
8+
9+
If you're sure this issue is a defect in the code and checked the steps above
10+
please fill in the following fields to provide enough troubleshooting information.
11+
You may delete the guideline and text above to just leave the following details:
12+
13+
- OS: **INSERT OPERATING SYSTEM HERE**
14+
- PowerShell Version: **INSERT POWERSHELL VERSION HERE**
15+
- List the steps to reproduce the problem below (if possible attach a screenshot and/or link to the code): **LIST REPRO STEPS BELOW**

0 commit comments

Comments
 (0)