14 lines
466 B
PowerShell
14 lines
466 B
PowerShell
$rootPath = "$PSScriptRoot\.."
|
|
|
|
$assetPath = "$rootPath\assets"
|
|
$csPackagesPath = "$rootPath\cs_packages"
|
|
$dlcPacksPath = "$rootPath\dlcpacks"
|
|
|
|
$clientResourcesPath = "$rootPath\..\..\client_packages"
|
|
|
|
Remove-Item -Path "$clientResourcesPath\*" -Recurse -Force
|
|
|
|
$exclude = @('*.ts', 'package.json', 'package-lock.json', 'tsconfig.json', '*.csproj', 'Scripts', 'node_modules', 'bin', 'obj')
|
|
|
|
Copy-Item "$rootPath\*" $clientResourcesPath -Recurse -Exclude $exclude
|