Skip to content

A bulk compile PowerShell script for Spigot's BuildTool utility for primarily for multi-version plugin development.

Notifications You must be signed in to change notification settings

TinkerStorm/BuildTools.ps1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

BuildTools.ps1

A bulk compile script to build all specified revisions of spigot / craftbukkit for multi-version plugin development.

Originally created by Mackan, and modified to work on Slabbo.

$runtimes contains configuration presets for compiling each revision on their respective java binary. These binaries are assumed to be placed in JAVA_{v}_HOME, but can be provided as strings in the script as needed.

Arguments

  • -cmd = "compile"
    • (c)ompile / (b)uild - Build all specified revisions
    • (d)eploy / (i)nstall - Install all specified revisions to maven
  • -versions = "*" (CSV)
    • filter to specific revisions, use * for all (default)
    • i.e. 1.10,1.18.1,1.20.2,1.21
  • -pipeline = "craftbukkit"

Examples

.\BuildTools.ps1 -cmd compile -pipeline craftbukkit -versions '1.8'

About

A bulk compile PowerShell script for Spigot's BuildTool utility for primarily for multi-version plugin development.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published