-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #110 from dacmot/new_update_script
New update script
- Loading branch information
Showing
17 changed files
with
374 additions
and
151 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,37 @@ | ||
# Builder scripts allow you to generate and update the game from source mods. | ||
# Development and Maintenance | ||
|
||
Builder scripts allow you to generate and update the game from source mods. | ||
|
||
# Let's start - Clone the repository | ||
## Let's start - Clone the repository | ||
|
||
``` | ||
git clone --recurse-submodules https://github.com/minetest-whynot/whynot-game | ||
``` | ||
|
||
## Update using build-mods.sh | ||
|
||
## If already cloned, update all mods | ||
``` | ||
git pull --recurse-submodules | ||
``` | ||
|
||
# Check if any included mod is not in last version | ||
Check if any included mod is not in last version | ||
|
||
``` | ||
./builder/check-updates.sh | ||
``` | ||
|
||
All mods sources are stored in `builder/mods_src` folder, connected as submodules | ||
All mods sources are stored in `builder/mods_src` folder, connected as submodules. You can now update the whynot game | ||
|
||
# Build / Update the whynot game | ||
``` | ||
./builder/build-mods.sh | ||
``` | ||
|
||
## Update using update_mod.sh | ||
|
||
If you wish to commit changes to the git repository, it may be more convenient to use the following : | ||
|
||
``` | ||
./builder/update_mods.sh | ||
``` | ||
|
||
This will go through each mods and prompt you to decide if you wish to view the changes (diff), merge them, and commit them. |
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.