mirror of
https://hub.spigotmc.org/stash/scm/spigot/buildtools.git
synced 2025-04-13 09:31:28 +00:00
Exit 1 if we fail in the build process
This commit is contained in:
parent
9359522175
commit
2cb26df892
1 changed files with 3 additions and 2 deletions
|
@ -49,7 +49,7 @@ public class Builder
|
|||
{
|
||||
System.out.println( "Sorry, but Macintosh is not currently a supported platform for compilation at this time." );
|
||||
System.out.println( "Please run this script on a Windows or Linux PC and then copy the jars to this computer." );
|
||||
return;
|
||||
System.exit( 1 );
|
||||
}
|
||||
|
||||
try
|
||||
|
@ -58,7 +58,7 @@ public class Builder
|
|||
} catch ( Exception ex )
|
||||
{
|
||||
System.out.println( "You must run this jar through bash (msysgit)" );
|
||||
return;
|
||||
System.exit( 1 );
|
||||
}
|
||||
|
||||
try
|
||||
|
@ -273,6 +273,7 @@ public class Builder
|
|||
{
|
||||
System.err.println( "Error compiling Spigot, are you running this jar via msysgit?" );
|
||||
ex.printStackTrace();
|
||||
System.exit( 1 );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue