Skip to content

Commit 20b93b5

Browse files
committed
Initial commit
0 parents  commit 20b93b5

File tree

7 files changed

+73
-0
lines changed

7 files changed

+73
-0
lines changed

.github/FUNDING.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# These are supported funding model platforms
2+
3+
github: [alan-null]
4+
custom: ['https://www.paypal.com/paypalme/plocieniak']

.github/workflows/release.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: Publish Module
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
publish-module:
8+
name: Publish Module
9+
uses: PowerShellLibrary/.github/.github/workflows/publish-module.yml@master
10+
secrets: inherit

.github/workflows/test.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Invoke Pester Tests
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- master
8+
9+
jobs:
10+
invoke-pester:
11+
uses: PowerShellLibrary/.github/.github/workflows/invoke-pester.yml@master

LICENSE

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
MIT License
2+
3+
Copyright (c) 2025 Alan Płócieniak
4+
5+
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:
6+
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8+
9+
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.

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# WindowsDiskCleanup
2+
[![License](https://img.shields.io/badge/license-MIT-blue.svg?labelColor=373e45)](LICENSE)
3+
4+
PowerShell module for cleaning disk space.
5+
6+
## License
7+
[MIT License](LICENSE.md) © Alan Płócieniak
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
@{
3+
RootModule = 'WindowsDiskCleanup.psm1'
4+
ModuleVersion = '0.0.1'
5+
GUID = 'f6e10822d0584a4987459bd687dd8c17'
6+
Author = 'Alan Plocieniak'
7+
CompanyName = 'Alan Plocieniak'
8+
Copyright = '(c) Alan Plocieniak. All rights reserved.'
9+
Description = 'PowerShell module for disk cleanup on Windows'
10+
PowerShellVersion = '5.1'
11+
CompatiblePSEditions = 'Desktop'
12+
FunctionsToExport = '*'
13+
PrivateData = @{
14+
PSData = @{
15+
Tags = @('powershell', 'ps', 'power-shell', 'WindowsDiskCleanup', 'disk', 'cleanup', 'diskcleanup', 'windows')
16+
LicenseUri = 'https://github.com/PowerShellLibrary/WindowsDiskCleanup/blob/master/LICENSE'
17+
ProjectUri = 'https://github.com/PowerShellLibrary/WindowsDiskCleanup'
18+
}
19+
}
20+
}
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
$Public = @( Get-ChildItem -Path $PSScriptRoot\Public -Recurse -Filter *.ps1 -ErrorAction SilentlyContinue )
2+
$Private = @( Get-ChildItem -Path $PSScriptRoot\Private -Recurse -Filter *.ps1 -ErrorAction SilentlyContinue )
3+
4+
Foreach ($import in @($Public + $Private)) {
5+
try {
6+
. $import.fullname
7+
}
8+
catch {
9+
Write-Error -Message "Failed to import function $($import.fullname): $_"
10+
}
11+
}
12+
Export-ModuleMember -Function $Public.Basename

0 commit comments

Comments
 (0)