(refactor): src folder fix
This commit is contained in:
		
							parent
							
								
									9107fc86ed
								
							
						
					
					
						commit
						26d702762c
					
				| @ -23,7 +23,7 @@ | ||||
|   </ItemGroup> | ||||
| 
 | ||||
|   <ItemGroup> | ||||
|     <ProjectReference Include="..\src\MaksIT.Results\MaksIT.Results.csproj" /> | ||||
|     <ProjectReference Include="..\MaksIT.Results\MaksIT.Results.csproj" /> | ||||
|   </ItemGroup> | ||||
| 
 | ||||
|   <ItemGroup> | ||||
| @ -5,7 +5,7 @@ VisualStudioVersion = 17.9.34902.65 | ||||
| MinimumVisualStudioVersion = 10.0.40219.1 | ||||
| Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MaksIT.Results", "MaksIT.Results\MaksIT.Results.csproj", "{E947F5FC-8FD9-4F1E-AA5F-29FED95B5A2D}" | ||||
| EndProject | ||||
| Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MaksIT.Results.Tests", "..\MaksIT.Results.Tests\MaksIT.Results.Tests.csproj", "{BFD6A824-5A87-4C3A-9F95-32E318E1B683}" | ||||
| Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MaksIT.Results.Tests", "MaksIT.Results.Tests\MaksIT.Results.Tests.csproj", "{68D2F460-1550-5219-355F-BEDA6C1557AA}" | ||||
| EndProject | ||||
| Global | ||||
| 	GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||||
| @ -17,10 +17,10 @@ Global | ||||
| 		{E947F5FC-8FD9-4F1E-AA5F-29FED95B5A2D}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||||
| 		{E947F5FC-8FD9-4F1E-AA5F-29FED95B5A2D}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||||
| 		{E947F5FC-8FD9-4F1E-AA5F-29FED95B5A2D}.Release|Any CPU.Build.0 = Release|Any CPU | ||||
| 		{BFD6A824-5A87-4C3A-9F95-32E318E1B683}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||||
| 		{BFD6A824-5A87-4C3A-9F95-32E318E1B683}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||||
| 		{BFD6A824-5A87-4C3A-9F95-32E318E1B683}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||||
| 		{BFD6A824-5A87-4C3A-9F95-32E318E1B683}.Release|Any CPU.Build.0 = Release|Any CPU | ||||
| 		{68D2F460-1550-5219-355F-BEDA6C1557AA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||||
| 		{68D2F460-1550-5219-355F-BEDA6C1557AA}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||||
| 		{68D2F460-1550-5219-355F-BEDA6C1557AA}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||||
| 		{68D2F460-1550-5219-355F-BEDA6C1557AA}.Release|Any CPU.Build.0 = Release|Any CPU | ||||
| 	EndGlobalSection | ||||
| 	GlobalSection(SolutionProperties) = preSolution | ||||
| 		HideSolutionNode = FALSE | ||||
|  | ||||
| @ -12,10 +12,20 @@ $nugetSource = "https://api.nuget.org/v3/index.json" | ||||
| $solutionDir = Split-Path -Parent $MyInvocation.MyCommand.Path | ||||
| $projectDir = "$solutionDir\MaksIT.Results" | ||||
| $outputDir = "$projectDir\bin\Release" | ||||
| $testProjectDir = "$solutionDir\MaksIT.Results.Tests" | ||||
| 
 | ||||
| # Clean previous builds | ||||
| Write-Host "Cleaning previous builds..." | ||||
| dotnet clean $projectDir -c Release | ||||
| dotnet clean $testProjectDir -c Release | ||||
| 
 | ||||
| # Run tests | ||||
| Write-Host "Running tests..." | ||||
| dotnet test $testProjectDir -c Release | ||||
| if ($LASTEXITCODE -ne 0) { | ||||
|     Write-Host "Tests failed. Aborting release process." | ||||
|     exit 1 | ||||
| } | ||||
| 
 | ||||
| # Build the project | ||||
| Write-Host "Building the project..." | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Maksym Sadovnychyy
						Maksym Sadovnychyy