Skip to content

Commit 328f7f6

Browse files
committed
v1.2.0
2 parents ad32da5 + 0db2c50 commit 328f7f6

26 files changed

+1325
-242
lines changed

.build/build.ps1

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,12 @@ foreach ($pub in Get-ChildItem -Path "$PSScriptRoot\..\src\public" -Filter *.ps1
1212
[void] $builder.AppendLine()
1313
}
1414

15-
Set-Content -Path "$PSScriptRoot\..\src\ListFunctions.psm1" -Value $builder.ToString() -Force
15+
Set-Content -Path "$PSScriptRoot\..\src\ListFunctions.psm1" -Value $builder.ToString() -Force
16+
17+
# Build DotNet Project
18+
dotnet build "$PSScriptRoot\..\src\engine\ListFunctions.Engine.sln" -c Release
19+
20+
foreach ($dll in $(Get-ChildItem -Path "$PSScriptRoot\..\src\engine\ListFunctions.Engine\bin\Release" -Filter *.dll -Recurse)) {
21+
22+
$dll | Copy-Item -Destination "$PSScriptRoot\..\src\assemblies" -Force
23+
}

.debug/debug.ps1

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
. "$PSScriptRoot\..\src\private\ComparerBuilder.ps1"
1+
2+
foreach ($dll in $(Get-ChildItem -Path "$PSScriptRoot\..\src\assemblies" -Filter *.dll -Recurse -ea 0)) {
3+
Import-Module $dll.FullName
4+
}
25

3-
foreach ($priv in $(Get-ChildItem -Path "$PSScriptRoot\..\src\private" -Filter *.ps1 -Exclude "ComparerBuilder.ps1" -Recurse)) {
6+
foreach ($priv in $(Get-ChildItem -Path "$PSScriptRoot\..\src\private" -Filter *.ps1 -Recurse)) {
47

58
. $priv.FullName
69
}

.gitignore

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,12 @@
1111
*.userprefs
1212

1313
# Build results
14-
[Dd]ebug/
15-
[Dd]ebugPublic/
16-
[Rr]elease/
17-
#[Rr]eleases/
18-
x64/
19-
x86/
20-
bld/
21-
[Bb]in/
22-
[Oo]bj/
23-
[Ll]og/
14+
15+
src/engine/ListFunctions.Engine/[Oo]bj/
16+
src/engine/ListFunctions.Engine/[Bb]in/
2417

2518
# Visual Studio 2015 cache/options directory
26-
.vs/
19+
src/engine/.vs/
2720
# Uncomment if you have tasks that create the project's static files in wwwroot
2821
#wwwroot/
2922

@@ -261,3 +254,11 @@ __pycache__/
261254
*.pyc
262255

263256
desktop\.ini
257+
258+
*.no
259+
260+
src/**/*.psd1
261+
262+
src/**/*.psm1
263+
264+
src/assemblies/ListFunctions.Engine.dll
Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
RootModule = 'ListFunctions.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '1.2'
15+
ModuleVersion = '1.2.0'
1616

1717
# Supported PSEditions
18-
# CompatiblePSEditions = @()
18+
CompatiblePSEditions = @('Desk', 'Core')
1919

2020
# ID used to uniquely identify this module
2121
GUID = '731eae50-355d-4718-a2df-89d9beaae89e'
@@ -27,13 +27,13 @@
2727
CompanyName = 'Yevrag35, LLC.'
2828

2929
# Copyright statement for this module
30-
Copyright = 'Copyright (c) 2020 Yevrag35, LLC.'
30+
Copyright = 'Copyright (c) 2020-2022 Yevrag35, LLC.'
3131

3232
# Description of the functionality provided by this module
3333
Description = 'A simple module that provides functions to manipulate and search through Arrays, Collections, Lists, and Sets.'
3434

3535
# Minimum version of the Windows PowerShell engine required by this module
36-
PowerShellVersion = '4.0'
36+
PowerShellVersion = '5.1'
3737

3838
# Name of the Windows PowerShell host required by this module
3939
# PowerShellHostName = ''
@@ -54,10 +54,10 @@
5454
# RequiredModules = @()
5555

5656
# Assemblies that must be loaded prior to importing this module
57-
# RequiredAssemblies = @()
57+
RequiredAssemblies = @('assemblies\ListFunctions.Engine.dll')
5858

5959
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
60-
ScriptsToProcess = @("private\ComparerBuilder.ps1")
60+
#ScriptsToProcess = @("private\ComparerBuilder.ps1")
6161

6262
# Type files (.ps1xml) to be loaded when importing this module
6363
# TypesToProcess = @()
@@ -75,6 +75,7 @@
7575
"Find-IndexOf",
7676
"Find-LastIndexOf",
7777
"New-HashSet",
78+
"New-SortedSet",
7879
"New-List",
7980
"Remove-All",
8081
"Remove-At"
@@ -103,7 +104,11 @@
103104
# ModuleList = @()
104105

105106
# List of all files packaged with this module
106-
# FileList = @()
107+
FileList = @(
108+
'assemblies\ListFunctions.Engine.dll',
109+
'ListFunctions.psd1',
110+
'ListFunctions.psm1'
111+
)
107112

108113
# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
109114
PrivateData = @{
@@ -113,7 +118,7 @@
113118
# Tags applied to this module. These help with module discovery in online galleries.
114119
Tags = @('List', "Array", "Modify", "Remove", "Condition", "Where", "Any", "All", "Find",
115120
"Assert", "Test", "bool", "Predicate", "Collection", "index", "count", "Last", "Enumerable",
116-
"Linq", 'HashSet', 'equality', 'compare', 'set')
121+
"Linq", 'HashSet', 'equality', 'compare', 'set', 'sort')
117122

118123
# A URL to the license for this module.
119124
LicenseUri = 'https://raw.githubusercontent.com/Yevrag35/PowerShell-ListFunctions/master/LICENSE'
@@ -124,10 +129,10 @@
124129
# A URL to an icon representing this module.
125130
IconUri = 'https://images.yevrag35.com/icons/list-functions.png'
126131

127-
Prerelease = 'beta'
132+
# Prerelease = 'beta'
128133

129134
# ReleaseNotes of this module
130-
ReleaseNotes = 'Publishing 1.1; Adding new functions ''New-List'' & ''New-HashSet''.'
135+
ReleaseNotes = 'Added precompiled Engine for better control; New function introduced - "New-SortedSet".'
131136

132137
} # End of PSData hashtable
133138

0 commit comments

Comments
 (0)