Skip to content

Commit be7f3f0

Browse files
authored
Merge pull request #4 from stadub/7Zip-Release-1.0
7 zip release 1.0
2 parents e6c6d38 + 8122e16 commit be7f3f0

File tree

9 files changed

+2561
-487
lines changed

9 files changed

+2561
-487
lines changed

7Zip/7Zip.Tests.ps1 renamed to 7Zip/7Zip-Archive.Tests.ps1

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
1+
$DebugPreference = "Continue"
2+
3+
Set-StrictMode -version Latest
4+
15
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
2-
. "$here\7Zip.ps1"
6+
7+
. $PSScriptRoot\Shared-Functions.ps1
8+
9+
. $PSScriptRoot\Functions.ps1
10+
11+
_Initalize
312

413

514
Describe "Test-7ZipInstall" {

7Zip/7zip.psd1 renamed to 7Zip/7zip-Archive.psd1

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Module manifest for module '7zip'
2+
# Module manifest for module '7zip-Archive'
33
#
44
# Generated by: Dmitry Stadub
55
#
@@ -11,7 +11,7 @@
1111
# RootModule = ''
1212

1313
# Version number of this module.
14-
ModuleVersion = '0.9.0'
14+
ModuleVersion = '1.0.0'
1515

1616
# Supported PSEditions
1717
# CompatiblePSEditions = @()
@@ -29,7 +29,10 @@ CompanyName = ''
2929
Copyright = '(c) Dmitry Stadub. All rights reserved.'
3030

3131
# Description of the functionality provided by this module
32-
Description = '7zip utility wrapper. Use own copy of 7 zip utility and can download it from internet'
32+
Description = '7zip utility wrapper.
33+
Use own copy of 7 zip utility and can download it from internet
34+
Full documentation at the Github: https://github.com/stadub/PowershellScripts/tree/master/7zip
35+
'
3336

3437
# Minimum version of the PowerShell engine required by this module
3538
# PowerShellVersion = ''
@@ -65,7 +68,8 @@ Description = '7zip utility wrapper. Use own copy of 7 zip utility and can downl
6568
# FormatsToProcess = @()
6669

6770
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
68-
NestedModules = @('Aliases.ps1','7zip.ps1')
71+
#NestedModules = @('Aliases.ps1','7zip.ps1')
72+
RootModule = "7zip-Archive.psm1"
6973

7074
# Functions 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 functions to export.
7175
FunctionsToExport = @('*')
@@ -107,7 +111,19 @@ PrivateData = @{
107111

108112
# ReleaseNotes of this module
109113
ReleaseNotes = '
110-
First public release
114+
First public release.
115+
Supported function:
116+
Read-ZipFile szr
117+
Add-ZipFileContent sza
118+
Remove-ZipFileContent szrm
119+
Test-ZipFileContent szt
120+
Get-ZipFileContent br
121+
Full documentation at the Github: https://github.com/stadub/PowershellScripts/tree/master/7zip
122+
Changelog:
123+
Update icon.
124+
Remove extra shared functions
125+
Add update checker
126+
Change test environment to StrictMode=Latest
111127
'
112128

113129
} # End of PSData hashtable

7Zip/7zip-Archive.psm1

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
. $PSScriptRoot\Shared-Functions.ps1
2+
3+
. $PSScriptRoot\Functions.ps1
4+
5+
CheckPsGalleryUpdate 7Zip "1.0.0"
6+
7+
_Initalize
8+
9+
10+
Export-ModuleMember -Function: Read-ZipFile
11+
Export-ModuleMember -Function: Add-ZipFileContent
12+
Export-ModuleMember -Function: Remove-ZipFileContent
13+
Export-ModuleMember -Function: Test-ZipFileContent
14+
Export-ModuleMember -Function: Get-ZipFileContent
15+
Export-ModuleMember -Function: New-ZipFile
16+
17+
18+
. $PSScriptRoot\Aliases.ps1

0 commit comments

Comments
 (0)