forked from OpenWF/SpaceNinjaServer
		
	fix(starter-bat): don't start if build step has failed (#1069)
Reviewed-on: OpenWF/SpaceNinjaServer#1069
This commit is contained in:
		
							parent
							
								
									b3003b9fb3
								
							
						
					
					
						commit
						3442f15c6d
					
				@ -16,9 +16,10 @@ echo Updating dependencies...
 | 
				
			|||||||
call npm i
 | 
					call npm i
 | 
				
			||||||
 | 
					
 | 
				
			||||||
call npm run build
 | 
					call npm run build
 | 
				
			||||||
call npm run start
 | 
					if %errorlevel% == 0 (
 | 
				
			||||||
 | 
						call npm run start
 | 
				
			||||||
echo SpaceNinjaServer seems to have crashed.
 | 
						echo SpaceNinjaServer seems to have crashed.
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
:a
 | 
					:a
 | 
				
			||||||
pause > nul
 | 
					pause > nul
 | 
				
			||||||
goto a
 | 
					goto a
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user