Update Readme on how to setup and compile this project.
ryantheleach opened this issue ยท 3 comments
The readme currently appears to be out of date in regards to how to checkout and update this project.
The various craftbukkit dependencies are failing resolution, presumably due to them needing to be built to my local maven repository using build tools.
Some basic instructions on how to do this / automate this for all supported versions that Shopkeepers currently supports would be a welcome addition to the readme.
Under windows, (assuming you have gitbash installed) open the Shopkeepers root directory and run:
chmod +x installSpigot.sh
installSpigot.sh 1.14.4
installSpigot.sh 1.15.2
installSpigot.sh 1.16.1
installSpigot.sh 1.16.2
It would probably make sense to add a script which combines all of these and also checks if they are already available in the local repo before building the individual versions. Similar to the travis script, which could then refer to that new script instead.
I am not sure if chmod +x is required / even works under windows. But it probably makes sense to chmod +x those bash scripts inside the repo if that is not the case currently, for anyone not using windows.
I added an installSpigotDependencies.sh script and updated the readme accordingly. The scripts are already marked as executable inside the repo. And I am also able to execute them right away under windows, without the additional chmod+x. The scripts work in both git bash and regular Windows cmd for me.