Skip to content

Instantly share code, notes, and snippets.

@noidexe
Created March 14, 2015 19:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save noidexe/07c15b9ff336d8beabb5 to your computer and use it in GitHub Desktop.
Save noidexe/07c15b9ff336d8beabb5 to your computer and use it in GitHub Desktop.
Script to build Spigot on windows using PowerShell
#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