Skip to content

Commit 1044828

Browse files
author
Robin Stolpe
authored
Merge pull request #22 from rstolpe/dev
Some updates
2 parents 05b8a7b + efd3efe commit 1044828

14 files changed

+198
-1462
lines changed

.gitignore

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,12 @@
2525
.Spotlight-V100
2626
.Trashes
2727
ehthumbs.db
28-
Thumbs.db
28+
Thumbs.db
29+
30+
*.csproj.user
31+
32+
bin/
33+
obj/
34+
.vs/
35+
.vscode/
36+
.idea/

.src/License/gnu3.source

Lines changed: 0 additions & 674 deletions
This file was deleted.

.src/License/gnu3_add_file_licens.source

Lines changed: 0 additions & 16 deletions
This file was deleted.

.src/MaintainModule.psd1.source

Lines changed: 38 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,63 @@
11
<#
2-
Copyright (C) {{year}} Robin Stolpe.
3-
<https://stolpe.io>
4-
This program is free software: you can redistribute it and/or modify
5-
it under the terms of the GNU General Public License as published by
6-
the Free Software Foundation, either version 3 of the License, or
7-
(at your option) any later version.
8-
This program is distributed in the hope that it will be useful,
9-
but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11-
GNU General Public License for more details.
12-
You should have received a copy of the GNU General Public License
13-
along with this program. If not, see <https://www.gnu.org/licenses/>.
2+
MIT License
3+
4+
Copyright (C) {{year}} {{author}}.
5+
6+
Permission is hereby granted, free of charge, to any person obtaining a copy
7+
of this software and associated documentation files (the "Software"), to deal
8+
in the Software without restriction, including without limitation the rights
9+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
copies of the Software, and to permit persons to whom the Software is
11+
furnished to do so, subject to the following conditions:
12+
13+
The above copyright notice and this permission notice shall be included in all
14+
copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
SOFTWARE.
1423
#>
1524

1625
#
1726
# Module manifest for module '{{moduleName}}'
1827
#
19-
# Generated by: Robin Stolpe
28+
# Generated by: {{author}}
2029
#
2130
# Generated on: {{manifestDate}}
2231
#
2332

2433
@{
2534

2635
# Script module or binary module file associated with this manifest.
27-
RootModule = '.\{{moduleName}}.psm1'
36+
RootModule = '.\{{moduleName}}.psm1'
2837

2938
# Version number of this module.
30-
ModuleVersion = '{{version}}'
39+
ModuleVersion = '{{version}}'
3140

3241
# Supported PSEditions
3342
# CompatiblePSEditions = @()
3443

3544
# ID used to uniquely identify this module
36-
GUID = '4fec1769-909e-44cf-b715-bbc6b10564b3'
45+
GUID = '4fec1769-909e-44cf-b715-bbc6b10564b3'
3746

3847
# Author of this module
39-
Author = 'Robin Stolpe'
48+
Author = '{{author}}'
4049

4150
# Company or vendor of this module
42-
CompanyName = 'Stolpe.io'
51+
CompanyName = '{{company}}'
4352

4453
# Copyright statement for this module
45-
Copyright = '(c) {{year}} Robin Stolpe. All rights reserved.'
54+
Copyright = '(c) {{year}} {{author}}. All rights reserved.'
4655

4756
# Description of the functionality provided by this module
48-
Description = 'This module let you maintain your installed modules in a easy way'
57+
Description = '{{description}}'
4958

5059
# Minimum version of the PowerShell engine required by this module
51-
PowerShellVersion = '5.1'
60+
PowerShellVersion = '{{powershellversion}}'
5261

5362
# Name of the PowerShell host required by this module
5463
# PowerShellHostName = ''
@@ -63,7 +72,7 @@
6372
# ClrVersion = ''
6473

6574
# Processor architecture (None, X86, Amd64) required by this module
66-
# ProcessorArchitecture = ''
75+
ProcessorArchitecture = '{{processorarchitecture}}}'
6776

6877
# Modules that must be imported into the global environment prior to importing this module
6978
# RequiredModules = @()
@@ -87,7 +96,7 @@
8796
FunctionsToExport = {{function}}
8897

8998
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
90-
CmdletsToExport = @()
99+
CmdletsToExport = @()
91100

92101
# Variables to export from this module
93102
VariablesToExport = '*'
@@ -110,22 +119,22 @@
110119
PSData = @{
111120

112121
# Tags applied to this module. These help with module discovery in online galleries.
113-
Tags = @("PowerShell", "macOS", "Windows", "Linux", "support-tool", "sysadmin-tool", "it-tool", "maintain-module", "module-maintenance", "multi-platform", "multiOS")
122+
Tags = @({{tags}})
114123

115124
# A URL to the license for this module.
116-
LicenseUri = 'https://github.com/rstolpe/MaintainModule/blob/main/LICENSE'
125+
LicenseUri = '{{licenseuri}}'
117126

118127
# A URL to the main website for this project.
119-
ProjectUri = 'https://github.com/rstolpe/MaintainModule'
128+
ProjectUri = '{{projecturi}}'
120129

121130
# A URL to an icon representing this module.
122131
# IconUri = ''
123132

124133
# ReleaseNotes of this module
125-
ReleaseNotes = 'https://github.com/rstolpe/MaintainModule/releases'
134+
ReleaseNotes = '{{releasenotes}}'
126135

127136
# Prerelease string of this module
128-
# Prerelease = '{{preReleaseTag}}'
137+
Prerelease = '{{prerelease}}'
129138

130139
# Flag to indicate whether the module requires explicit user acceptance for install/update/save
131140
RequireLicenseAcceptance = $false
@@ -138,7 +147,7 @@
138147
} # End of PrivateData hashtable
139148

140149
# HelpInfo URI of this module
141-
# HelpInfoURI = ''
150+
# HelpInfoURI = ''
142151

143152
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
144153
# DefaultCommandPrefix = ''

.src/license/LICENSE.source

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

0 commit comments

Comments
 (0)