diff --git a/.gitignore b/.gitignore index 51657db..1c56125 100644 --- a/.gitignore +++ b/.gitignore @@ -35,4 +35,7 @@ yarn-error.log* *.tsbuildinfo next-env.d.ts -.vscode \ No newline at end of file +.vscode + +#tsms.zip +tsms.zip \ No newline at end of file diff --git a/zip_project.ps1 b/zip_project.ps1 new file mode 100644 index 0000000..07cff92 --- /dev/null +++ b/zip_project.ps1 @@ -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." \ No newline at end of file