Skip to content

Commit

Permalink
Merge pull request #22 from rstolpe/dev
Browse files Browse the repository at this point in the history
Some updates
  • Loading branch information
rstolpe committed Jan 18, 2023
2 parents 05b8a7b + efd3efe commit 1044828
Show file tree
Hide file tree
Showing 14 changed files with 198 additions and 1,462 deletions.
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,12 @@
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
Thumbs.db

*.csproj.user

bin/
obj/
.vs/
.vscode/
.idea/
674 changes: 0 additions & 674 deletions .src/License/gnu3.source

This file was deleted.

16 changes: 0 additions & 16 deletions .src/License/gnu3_add_file_licens.source

This file was deleted.

67 changes: 38 additions & 29 deletions .src/MaintainModule.psd1.source
Original file line number Diff line number Diff line change
@@ -1,54 +1,63 @@
<#
Copyright (C) {{year}} Robin Stolpe.
<https://stolpe.io>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
MIT License

Copyright (C) {{year}} {{author}}.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
#>

#
# Module manifest for module '{{moduleName}}'
#
# Generated by: Robin Stolpe
# Generated by: {{author}}
#
# Generated on: {{manifestDate}}
#

@{

# Script module or binary module file associated with this manifest.
RootModule = '.\{{moduleName}}.psm1'
RootModule = '.\{{moduleName}}.psm1'

# Version number of this module.
ModuleVersion = '{{version}}'
ModuleVersion = '{{version}}'

# Supported PSEditions
# CompatiblePSEditions = @()

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

# Author of this module
Author = 'Robin Stolpe'
Author = '{{author}}'

# Company or vendor of this module
CompanyName = 'Stolpe.io'
CompanyName = '{{company}}'

# Copyright statement for this module
Copyright = '(c) {{year}} Robin Stolpe. All rights reserved.'
Copyright = '(c) {{year}} {{author}}. All rights reserved.'

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

# Minimum version of the PowerShell engine required by this module
PowerShellVersion = '5.1'
PowerShellVersion = '{{powershellversion}}'

# Name of the PowerShell host required by this module
# PowerShellHostName = ''
Expand All @@ -63,7 +72,7 @@
# ClrVersion = ''

# Processor architecture (None, X86, Amd64) required by this module
# ProcessorArchitecture = ''
ProcessorArchitecture = '{{processorarchitecture}}}'

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

# 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.
CmdletsToExport = @()
CmdletsToExport = @()

# Variables to export from this module
VariablesToExport = '*'
Expand All @@ -110,22 +119,22 @@
PSData = @{

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

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

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

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

# ReleaseNotes of this module
ReleaseNotes = 'https://github.com/rstolpe/MaintainModule/releases'
ReleaseNotes = '{{releasenotes}}'

# Prerelease string of this module
# Prerelease = '{{preReleaseTag}}'
Prerelease = '{{prerelease}}'

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

# HelpInfo URI of this module
# HelpInfoURI = ''
# HelpInfoURI = ''

# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
# DefaultCommandPrefix = ''
Expand Down
23 changes: 23 additions & 0 deletions .src/license/LICENSE.source
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<#
MIT License

Copyright (C) {{year}} {{author}}.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
#>
Loading

0 comments on commit 1044828

Please sign in to comment.