-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
940b054
commit f84e59b
Showing
1 changed file
with
160 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,160 @@ | ||
Clear-Host | ||
Import-Module "C:\Support\GitHub\PSPublishModule\PSPublishModule.psm1" -Force | ||
|
||
$Configuration = @{ | ||
Information = @{ | ||
ModuleName = 'PSTeams' | ||
DirectoryProjects = 'C:\Support\GitHub' | ||
|
||
FunctionsToExport = 'Public' | ||
AliasesToExport = 'Public' | ||
ScriptsToProcess = 'Enums' | ||
|
||
Manifest = @{ | ||
# Version number of this module. | ||
ModuleVersion = '1.0.X' | ||
# Supported PSEditions | ||
CompatiblePSEditions = @('Desktop', 'Core') | ||
# ID used to uniquely identify this module | ||
GUID = 'a46c3b0b-5687-4d62-89c5-753ae01e0926' | ||
# Minimum version of the Windows PowerShell engine required by this module | ||
PowerShellVersion = '5.1' | ||
# Author of this module | ||
Author = 'Przemyslaw Klys' | ||
# Company or vendor of this module | ||
CompanyName = 'Evotec' | ||
# Copyright statement for this module | ||
Copyright = "(c) 2011 - $((Get-Date).Year) Przemyslaw Klys @ Evotec. All rights reserved." | ||
# Description of the functionality provided by this module | ||
Description = 'Simple project to send messages to Microsoft Teams Channel.' | ||
# Tags applied to this module. These help with module discovery in online galleries. | ||
Tags = @('Teams', 'Microsoft', 'MSTeams', 'Notifications', 'Windows', 'macOS', 'Linux') | ||
# A URL to the main website for this project. | ||
ProjectUri = 'https://github.com/EvotecIT/PSTeams' | ||
# A URL to an icon representing this module. | ||
IconUri = 'https://statics.teams.microsoft.com/evergreen-assets/apps/teamscmdlets_largeimage.png' | ||
} | ||
} | ||
Options = @{ | ||
Merge = @{ | ||
Sort = 'None' | ||
FormatCodePSM1 = @{ | ||
Enabled = $true | ||
RemoveComments = $false | ||
FormatterSettings = @{ | ||
IncludeRules = @( | ||
'PSPlaceOpenBrace', | ||
'PSPlaceCloseBrace', | ||
'PSUseConsistentWhitespace', | ||
'PSUseConsistentIndentation', | ||
'PSAlignAssignmentStatement', | ||
'PSUseCorrectCasing' | ||
) | ||
|
||
Rules = @{ | ||
PSPlaceOpenBrace = @{ | ||
Enable = $true | ||
OnSameLine = $true | ||
NewLineAfter = $true | ||
IgnoreOneLineBlock = $true | ||
} | ||
|
||
PSPlaceCloseBrace = @{ | ||
Enable = $true | ||
NewLineAfter = $false | ||
IgnoreOneLineBlock = $true | ||
NoEmptyLineBefore = $false | ||
} | ||
|
||
PSUseConsistentIndentation = @{ | ||
Enable = $true | ||
Kind = 'space' | ||
PipelineIndentation = 'IncreaseIndentationAfterEveryPipeline' | ||
IndentationSize = 4 | ||
} | ||
|
||
PSUseConsistentWhitespace = @{ | ||
Enable = $true | ||
CheckInnerBrace = $true | ||
CheckOpenBrace = $true | ||
CheckOpenParen = $true | ||
CheckOperator = $true | ||
CheckPipe = $true | ||
CheckSeparator = $true | ||
} | ||
|
||
PSAlignAssignmentStatement = @{ | ||
Enable = $true | ||
CheckHashtable = $true | ||
} | ||
|
||
PSUseCorrectCasing = @{ | ||
Enable = $true | ||
} | ||
} | ||
} | ||
} | ||
FormatCodePSD1 = @{ | ||
Enabled = $true | ||
RemoveComments = $false | ||
} | ||
Integrate = @{ | ||
ApprovedModules = @('PSSharedGoods', 'PSWriteColor', 'Connectimo', 'PSUnifi', 'PSWebToolbox', 'PSMyPassword') | ||
} | ||
} | ||
Standard = @{ | ||
FormatCodePSM1 = @{ | ||
|
||
} | ||
FormatCodePSD1 = @{ | ||
Enabled = $true | ||
#RemoveComments = $true | ||
} | ||
} | ||
ImportModules = @{ | ||
Self = $true | ||
RequiredModules = $false | ||
Verbose = $false | ||
} | ||
PowerShellGallery = @{ | ||
ApiKey = 'C:\Support\Important\PowerShellGalleryAPI.txt' | ||
FromFile = $true | ||
} | ||
GitHub = @{ | ||
ApiKey = 'C:\Support\Important\GithubAPI.txt' | ||
FromFile = $true | ||
UserName = 'EvotecIT' | ||
#RepositoryName = 'PSWriteHTML' | ||
} | ||
Documentation = @{ | ||
Path = 'Docs' | ||
PathReadme = 'Docs\Readme.md' | ||
} | ||
} | ||
Steps = @{ | ||
BuildModule = @{ # requires Enable to be on to process all of that | ||
Enable = $true | ||
DeleteBefore = $false | ||
Merge = $true | ||
MergeMissing = $true | ||
SignMerged = $true | ||
Releases = $true | ||
ReleasesUnpacked = $false | ||
RefreshPSD1Only = $false | ||
} | ||
BuildDocumentation = $false | ||
ImportModules = @{ | ||
Self = $true | ||
RequiredModules = $false | ||
Verbose = $false | ||
} | ||
PublishModule = @{ # requires Enable to be on to process all of that | ||
Enabled = $false | ||
Prerelease = '' | ||
RequireForce = $false | ||
GitHub = $false | ||
} | ||
} | ||
} | ||
|
||
New-PrepareModule -Configuration $Configuration |