From 1f97bc5efc76f29630a3c902b35b8e85fcb62394 Mon Sep 17 00:00:00 2001 From: pavelbannov Date: Tue, 3 Oct 2023 18:14:05 +0300 Subject: [PATCH] fixed migration and test --- createMigrations.bat | 2 +- run.backend.translations.tests.bat | 2 +- runMigrations.bat | 6 +++--- runMigrations.standalone.bat | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/createMigrations.bat b/createMigrations.bat index 1f7fcf9ca0..1c58ef0c30 100644 --- a/createMigrations.bat +++ b/createMigrations.bat @@ -1,6 +1,6 @@ @echo "MIGRATIONS" @echo off -PUSHD %~dp0..\common\Tools\ASC.Migration.Creator +PUSHD %~dp0..\server\common\Tools\ASC.Migration.Creator dotnet run --project ASC.Migration.Creator.csproj pause \ No newline at end of file diff --git a/run.backend.translations.tests.bat b/run.backend.translations.tests.bat index 973e06d8da..8d47266862 100644 --- a/run.backend.translations.tests.bat +++ b/run.backend.translations.tests.bat @@ -1,4 +1,4 @@ PUSHD %~dp0.. set dir=%~dp0.. echo %dir% -dotnet test common\Tests\Backend.Translations.Tests\Backend.Translations.Tests.csproj -l:html --environment "BASE_DIR=%dir%" --results-directory "%dir%/TestsResults" \ No newline at end of file +dotnet test server\common\Tests\Backend.Translations.Tests\Backend.Translations.Tests.csproj -l:html --environment "BASE_DIR=%dir%" --results-directory "%dir%/TestsResults" \ No newline at end of file diff --git a/runMigrations.bat b/runMigrations.bat index 668ca1f30b..ca99ff359b 100644 --- a/runMigrations.bat +++ b/runMigrations.bat @@ -3,8 +3,8 @@ cd /D "%~dp0" call start\stop.bat nopause -dotnet build ..\asc.web.slnf -dotnet build ..\ASC.Migrations.sln -PUSHD %~dp0..\common\Tools\ASC.Migration.Runner\bin\Debug\net7.0 +dotnet build ..\server\asc.web.slnf +dotnet build ..\server\ASC.Migrations.sln +PUSHD %~dp0..\server\common\Tools\ASC.Migration.Runner\bin\Debug\net7.0 dotnet ASC.Migration.Runner.dll pause \ No newline at end of file diff --git a/runMigrations.standalone.bat b/runMigrations.standalone.bat index 723a5b135e..a38f7566ff 100644 --- a/runMigrations.standalone.bat +++ b/runMigrations.standalone.bat @@ -3,8 +3,8 @@ cd /D "%~dp0" call start\stop.bat nopause -dotnet build ..\asc.web.slnf -dotnet build ..\ASC.Migrations.sln -PUSHD %~dp0..\common\Tools\ASC.Migration.Runner\bin\Debug\net7.0 +dotnet build ..\server\asc.web.slnf +dotnet build ..\server\ASC.Migrations.sln +PUSHD %~dp0..\server\common\Tools\ASC.Migration.Runner\bin\Debug\net7.0 dotnet ASC.Migration.Runner.dll standalone=true pause \ No newline at end of file