feat: initial commit for Alexa Malayalam Calendar skill
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
$ProjectRoot = (Resolve-Path "$PSScriptRoot\..").Path
|
||||
$DistPath = Join-Path -Path $ProjectRoot -ChildPath "dist"
|
||||
$ZipPath = Join-Path -Path $DistPath -ChildPath "bundle.zip"
|
||||
|
||||
if (Test-Path -Path $DistPath) {
|
||||
Remove-Item -Path $DistPath -Recurse -Force
|
||||
}
|
||||
New-Item -ItemType Directory -Path $DistPath | Out-Null
|
||||
|
||||
Write-Host "Packaging skill into $ZipPath..." -ForegroundColor Cyan
|
||||
|
||||
Set-Location -Path $ProjectRoot
|
||||
Compress-Archive -Path "src", "node_modules", "package.json" -DestinationPath $ZipPath -Force
|
||||
|
||||
Write-Host "Build complete. Bundle created at $ZipPath" -ForegroundColor Green
|
||||
Reference in New Issue
Block a user