From 4b1b51f45502206fd5fe2a6060a6a01963ab0e39 Mon Sep 17 00:00:00 2001 From: Chris McConnell Date: Tue, 10 Nov 2020 09:52:28 -0800 Subject: [PATCH] Add script for copying schemas. (#4933) --- Microsoft.Bot.Builder.sln | 1 + libraries/copySchemas.cmd | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 libraries/copySchemas.cmd diff --git a/Microsoft.Bot.Builder.sln b/Microsoft.Bot.Builder.sln index 5cf877c48..1a8bb01d5 100644 --- a/Microsoft.Bot.Builder.sln +++ b/Microsoft.Bot.Builder.sln @@ -114,6 +114,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution bot_icon.png = bot_icon.png BotBuilder-DotNet.ruleset = BotBuilder-DotNet.ruleset CodeCoverage.runsettings = CodeCoverage.runsettings + libraries\copySchemas.cmd = libraries\copySchemas.cmd Directory.Build.props = Directory.Build.props tests\tests.schema = tests\tests.schema EndProjectSection diff --git a/libraries/copySchemas.cmd b/libraries/copySchemas.cmd new file mode 100644 index 000000000..9e42f7b68 --- /dev/null +++ b/libraries/copySchemas.cmd @@ -0,0 +1,13 @@ +@echo off +echo Copying schemas from C# to node +set dest=%1 +if "%dest%" EQU "" set dest=..\..\botbuilder-js\libraries + +echo Copying to %dest% +echo No JS equivalent of teams +xcopy /s /y Microsoft.Bot.Builder.AI.Luis\Schemas\* %dest%\botbuilder-ai\schemas\ +xcopy /s /y Microsoft.Bot.Builder.AI.QnA\Schemas\* %dest%\botbuilder-ai\schemas\ +xcopy /s /y Microsoft.Bot.Builder.AI.Orchestrator\Schemas\* %dest%\botbuilder-ai-orchestrator\schemas\ +xcopy /s /y Microsoft.Bot.Builder.Dialogs.Adaptive\Schemas\* %dest%\botbuilder-dialogs-adaptive\schemas\ +xcopy /s /y Microsoft.Bot.Builder.Dialogs.Adaptive.Testing\Schemas\* %dest%\botbuilder-dialogs-adaptive-testing\schemas\ +xcopy /s /y Microsoft.Bot.Builder.Dialogs.Declarative\Schemas\* %dest%\botbuilder-dialogs-declarative\schemas\