diff options
Diffstat (limited to 'build.ps1')
| -rw-r--r-- | build.ps1 | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -8,3 +8,16 @@ if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } cmake --build build --config Release if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } +# Package up into ./dist dir +if (Test-Path -Path ./dist) { + rm -Recurse ./dist +} +mkdir ./dist +cp -Recurse build/bin/Release/* dist +cp -Recurse ./Scripts ./dist/ + +if (Test-Path -Path ../Assets/yum_food/3ner/Modular_Slang) { + rm -Recurse ../Assets/yum_food/3ner/Modular_Slang +} +cp -Recurse ./dist ../Assets/yum_food/3ner/Modular_Slang/ + |
