Quellcode durchsuchen

add zip_project.ps1

tags/Baseline_30082024_FRONTEND_UAT
Terence vor 1 Jahr
Ursprung
Commit
7ce644f3c0
2 geänderte Dateien mit 14 neuen und 1 gelöschten Zeilen
  1. +4
    -1
      .gitignore
  2. +10
    -0
      zip_project.ps1

+ 4
- 1
.gitignore Datei anzeigen

@@ -35,4 +35,7 @@ yarn-error.log*
*.tsbuildinfo
next-env.d.ts

.vscode
.vscode

#tsms.zip
tsms.zip

+ 10
- 0
zip_project.ps1 Datei anzeigen

@@ -0,0 +1,10 @@
$sourcePath = Get-Location
$destination = Join-Path -Path $sourcePath -ChildPath "tsms.zip"

$exclude = @(".git", ".next", ".vscode", "node_modules", ".gitignore", "zip_project.ps1", "tsms.zip")

$files = Get-ChildItem -Path $sourcePath -Exclude $exclude

Compress-Archive -Path $files -DestinationPath $destination -CompressionLevel Fastest -Force

Write-Host "Folder zipped successfully."

Laden…
Abbrechen
Speichern