Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/scripts/Test-CompiledScript.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ param(
[string]$ScriptPath = "WinToolkit.ps1",

[Parameter(Mandatory = $false)]
[string]$ToolPath = "tool",
[string]$ToolPath = "tools",

[Parameter(Mandatory = $false)]
[string]$TemplatePath = "WinToolkit-template.ps1"
Expand Down Expand Up @@ -104,7 +104,7 @@ try {
# ========================================
Write-TestLog -Message "`n🔍 Test 2: Verifica funzioni..." -Type Info

# Rilevamento automatico delle funzioni dalla cartella tool/
# Rilevamento automatico delle funzioni dalla cartella tools/
$toolFiles = Get-ChildItem -Path $ToolPath -Filter "*.ps1" -ErrorAction SilentlyContinue | Where-Object { $_.Name -notlike "*start-*" }
$expectedFunctions = $toolFiles | ForEach-Object { [System.IO.Path]::GetFileNameWithoutExtension($_.Name) }

Expand Down Expand Up @@ -174,7 +174,7 @@ try {
else {
$script:TestResults += "❌ Funzioni: $($presentFunctions.Count)/$($expectedFunctions.Count) presenti"
$script:TotalErrors++
$errorMsg = "MODULI MANCANTI NEL TEMPLATE: I seguenti script in /tool non hanno un placeholder (nemmeno commentato) in WinToolkit-template.ps1: $($missingFunctions -join ', ')"
$errorMsg = "MODULI MANCANTI NEL TEMPLATE: I seguenti script in /tools non hanno un placeholder (nemmeno commentato) in WinToolkit-template.ps1: $($missingFunctions -join ', ')"
$script:CriticalErrors += $errorMsg
}

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/Release_Wintoolkit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ jobs:
"README.md",
"CHANGELOG.md",
"LICENSE",
"img/",
"asset/",
"images/",
"assets/",
".github/ISSUE_TEMPLATE/bug_report.yml",
".github/ISSUE_TEMPLATE/feature_request.yml",
".github/workflows/Release_Wintoolkit.yml",
Expand All @@ -143,10 +143,10 @@ jobs:
exit 1
}

# Esclusione specifica della cartella png in asset
if (Test-Path -Path 'asset/png') {
Write-Host "🗑️ Rimoziene cartella asset/png esclusa dal rilascio..."
Remove-Item -Recurse -Force 'asset/png'
# Esclusione specifica della cartella png in assets
if (Test-Path -Path 'assets/png') {
Write-Host "🗑️ Rimoziene cartella assets/png esclusa dal rilascio..."
Remove-Item -Recurse -Force 'assets/png'
}

- name: Commit delle Modifiche
Expand All @@ -158,8 +158,8 @@ jobs:
"README.md",
"CHANGELOG.md",
"LICENSE",
"img/",
"asset/",
"images/",
"assets/",
".github/ISSUE_TEMPLATE/bug_report.yml",
".github/ISSUE_TEMPLATE/feature_request.yml",
".github/workflows/Release_Wintoolkit.yml",
Expand Down
214 changes: 109 additions & 105 deletions README.md

Large diffs are not rendered by default.

Loading
Loading