Skip to content

Commit

Permalink
Merge pull request #4 from stadub/7Zip-Release-1.0
Browse files Browse the repository at this point in the history
7 zip release 1.0
  • Loading branch information
stadub committed Sep 2, 2019
2 parents e6c6d38 + 8122e16 commit be7f3f0
Show file tree
Hide file tree
Showing 9 changed files with 2,561 additions and 487 deletions.
11 changes: 10 additions & 1 deletion 7Zip/7Zip.Tests.ps1 → 7Zip/7Zip-Archive.Tests.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
$DebugPreference = "Continue"

Set-StrictMode -version Latest

$here = Split-Path -Parent $MyInvocation.MyCommand.Path
. "$here\7Zip.ps1"

. $PSScriptRoot\Shared-Functions.ps1

. $PSScriptRoot\Functions.ps1

_Initalize


Describe "Test-7ZipInstall" {
Expand Down
26 changes: 21 additions & 5 deletions 7Zip/7zip.psd1 → 7Zip/7zip-Archive.psd1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Module manifest for module '7zip'
# Module manifest for module '7zip-Archive'
#
# Generated by: Dmitry Stadub
#
Expand All @@ -11,7 +11,7 @@
# RootModule = ''

# Version number of this module.
ModuleVersion = '0.9.0'
ModuleVersion = '1.0.0'

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

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

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

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

# 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.
FunctionsToExport = @('*')
Expand Down Expand Up @@ -107,7 +111,19 @@ PrivateData = @{

# ReleaseNotes of this module
ReleaseNotes = '
First public release
First public release.
Supported function:
Read-ZipFile szr
Add-ZipFileContent sza
Remove-ZipFileContent szrm
Test-ZipFileContent szt
Get-ZipFileContent br
Full documentation at the Github: https://github.com/stadub/PowershellScripts/tree/master/7zip
Changelog:
Update icon.
Remove extra shared functions
Add update checker
Change test environment to StrictMode=Latest
'

} # End of PSData hashtable
Expand Down
18 changes: 18 additions & 0 deletions 7Zip/7zip-Archive.psm1
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
. $PSScriptRoot\Shared-Functions.ps1

. $PSScriptRoot\Functions.ps1

CheckPsGalleryUpdate 7Zip "1.0.0"

_Initalize


Export-ModuleMember -Function: Read-ZipFile
Export-ModuleMember -Function: Add-ZipFileContent
Export-ModuleMember -Function: Remove-ZipFileContent
Export-ModuleMember -Function: Test-ZipFileContent
Export-ModuleMember -Function: Get-ZipFileContent
Export-ModuleMember -Function: New-ZipFile


. $PSScriptRoot\Aliases.ps1
Loading

0 comments on commit be7f3f0

Please sign in to comment.