A simple nifty tool to build your mod in just one go!
Simply git pull
and run it. It's easy.
Or, if you don't have git:
wget https://raw.githubusercontent.com/Sayo-nika/autobuild.sh/master/autobuild.sh && bash autobuild.sh
To start the script in interactive mode, just run ./autobuild.sh
.
However, if you want to use arguments for non-interactive usage, like CIs, These are the available options
./autobuild.sh [-d <DIRECTORY> | -h]
Builds a mod by creating a build/ folder and compiles releases there.
When no arguments are present, the script starts in interactive mode.
However, for non-interactive usage, the following is accepted as a argument:
-d --directory <DIRECTORY> The Directory of the mod to build.
-h --help Print this help dialogue.
If you think you can make this better, send us a PR! We love you.
The following source code is licensed under MIT. Copyright 2018© The Sayonika Project Authors
This script complies with the Team Salvato IP Guidelines.