1
0

game as submodule for easy instalation and distribution..

*  minetest developers were so stupid or what? why not a simple
 submodule from git? so easy!
* do as:
    * `sed s#.*games/minetest#!games/minetest#g .gitignore`
    * `git add .gitignore && git commit -m "submodule step 1"`
    * `git submodule add -b stable-5.2 https://codeberg.org/minenux/minetest-game-minetest game/minetest`
    * `git add --all && git commit --amend -m "ubmodule step 2`
    * `sed s#.*games/minetest#games/minetest#g .gitignore`
    * `git add --all && git commit --amend -m "ubmodule step 3 final`
* update CI for gitlab to use the submodule and setup the game also
This commit is contained in:
mckaygerhard 2024-06-05 14:57:00 -04:00
parent 60a4940be8
commit a261b4edc0
4 changed files with 11 additions and 0 deletions

1
.gitignore vendored
View File

@ -41,6 +41,7 @@ build/.cmake/
/bin/
/games/*
!/games/devtest/
!/games/minetest
/cache
/textures/*
!/textures/base/

View File

@ -5,6 +5,11 @@
# packages moved to https://build.opensuse.org/project/show/home:venenux:minenux
# in future we only build here, or made apk packs for alpine
variables:
GIT_SUBMODULE_STRATEGY: recursive
GIT_SUBMODULE_DEPTH: 1
GIT_STRATEGY: clone
stages:
- build

4
.gitmodules vendored Normal file
View File

@ -0,0 +1,4 @@
[submodule "games/minetest"]
path = games/minetest
url = https://codeberg.org/minenux/minetest-game-minetest
branch = stable-5.2

1
games/minetest Submodule

@ -0,0 +1 @@
Subproject commit 6dac4d264b5ad50b83499a0927196c935d844885