mirror of
				https://github.com/nsnail/Ocelot.git
				synced 2025-10-31 23:15:28 +08:00 
			
		
		
		
	updated build scripts
This commit is contained in:
		
							
								
								
									
										2
									
								
								build-and-run-tests.bat
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								build-and-run-tests.bat
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | ||||
| ./run-tests.bat | ||||
| ./build.bat | ||||
							
								
								
									
										13
									
								
								build.bat
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								build.bat
									
									
									
									
									
								
							| @@ -1,22 +1,11 @@ | ||||
| echo ------------------------- | ||||
|  | ||||
| echo Running Ocelot.UnitTests | ||||
|  | ||||
| dotnet restore test/Ocelot.UnitTests/ | ||||
| dotnet test test/Ocelot.UnitTests/ | ||||
|  | ||||
| echo Running Ocelot.AcceptanceTests | ||||
|  | ||||
| cd test/Ocelot.AcceptanceTests/ | ||||
| dotnet restore  | ||||
| dotnet test  | ||||
| cd ../../ | ||||
|  | ||||
| echo Building Ocelot | ||||
|  | ||||
| dotnet restore src/Ocelot | ||||
| dotnet restore src/Ocelot.Library | ||||
| dotnet build src/Ocelot | ||||
| dotnet pack src/Ocelot/project.json --no-build --output nupkgs | ||||
| dotnet publish src/Ocelot -o site/wwwroot | ||||
|  | ||||
|  | ||||
|   | ||||
| @@ -1,12 +1,16 @@ | ||||
| echo ------------------------- | ||||
|  | ||||
| echo Running Ocelot.UnitTests | ||||
| echo Restoring Ocelot | ||||
| dotnet restore src/Ocelot | ||||
|  | ||||
| echo Restoring Ocelot | ||||
| dotnet restore src/Ocelot.Library | ||||
|  | ||||
| echo Running Ocelot.UnitTests | ||||
| dotnet restore test/Ocelot.UnitTests/ | ||||
| dotnet test test/Ocelot.UnitTests/ | ||||
|  | ||||
| echo Running Ocelot.AcceptanceTests | ||||
|  | ||||
| cd test/Ocelot.AcceptanceTests/ | ||||
| dotnet restore  | ||||
| dotnet test  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 tom.pallister
					tom.pallister