Created
March 14, 2015 19:26
-
-
Save noidexe/07c15b9ff336d8beabb5 to your computer and use it in GitHub Desktop.
Script to build Spigot on windows using PowerShell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#To use just do: [Right Click]->[Run in PowerShell] | |
$source = "https://hub.spigotmc.org/jenkins/job/BuildTools-Beta/lastSuccessfulBuild/artifact/target/BuildTools.jar" | |
#Once the new BuildTools are out of beta chage the url above to: | |
#https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar | |
$destination = "BuildTools.jar" | |
Invoke-WebRequest $source -OutFile $destination | |
java -jar 'BuildTools.jar' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment