Skip to content

Commit 149e598

Browse files
author
Friedrich Weinmann
committed
Finishing up templates
1 parent b7296d3 commit 149e598

Some content is hidden

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

44 files changed

+3504
-2
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

templates/PSFModule/PSMDTemplate.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@
1313
date = {
1414
Get-Date -Format "yyyy-MM-dd"
1515
}
16+
year = {
17+
Get-Date -Format "yyyy"
18+
}
1619
}
1720
}

templates/PSFModule/internal/scripts/license.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
New-PSFLicense -Product 'þnameþ' -Manufacturer 'þauthorþ' -ProductVersion $PSModuleVersion -ProductType Module -Name MIT -Version "1.0.0.0" -Date (Get-Date "þ!date!þ") -Text @"
2-
Copyright (c) 2018 þauthorþ
2+
Copyright (c) þ!year!þ þauthorþ
33
44
Permission is hereby granted, free of charge, to any person obtaining a copy
55
of this software and associated documentation files (the "Software"), to deal

templates/PSFModule/þnameþ.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
CompanyName = 'þcompanyþ'
1616

1717
# Copyright statement for this module
18-
Copyright = '(c) þauthorþ. All rights reserved.'
18+
Copyright = 'Copyright (c) þ!year!þ þauthorþ'
1919

2020
# Description of the functionality provided by this module
2121
Description = 'þdescriptionþ'

templates/PSFProject/.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto

templates/PSFProject/.gitignore

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
# ignore the settings folder and files for VSCode and PSS
3+
.vscode/*
4+
*.psproj
5+
*TempPoint*
6+
7+
# Ignore staging info from Visual Studio
8+
library/þnameþ/.vs/*
9+
library/þnameþ/þnameþ/bin/*
10+
library/þnameþ/þnameþ/obj/*
11+
12+
# ignore PowerShell Studio MetaData
13+
þnameþ/þnameþ.psproj
14+
þnameþ/þnameþ.psproj.bak
15+
þnameþ/þnameþ.psprojs
16+
þnameþ/þnameþ.psproj

templates/PSFProject/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) þ!year!þ þauthorþ
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)