Rework mod to become a metapackage (#42)

The submodules contained within this modpack are quite outdated, so I reworked it to be a metapackage. When it is installed from ContentDB, it will install all of the mods alongside as dependencies.
This commit is contained in:
ROllerozxa 2023-12-10 18:35:53 +01:00 committed by GitHub
parent 21a3e9f1b9
commit a35e564b81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
19 changed files with 6 additions and 74 deletions

36
.gitmodules vendored
View File

@ -1,36 +0,0 @@
[submodule "anvil"]
path = anvil
url = https://github.com/minetest-mods/anvil.git
[submodule "castle_farming"]
path = castle_farming
url = https://github.com/minetest-mods/castle_farming.git
[submodule "castle_gates"]
path = castle_gates
url = https://github.com/minetest-mods/castle_gates.git
[submodule "castle_lighting"]
path = castle_lighting
url = https://github.com/minetest-mods/castle_lighting.git
[submodule "castle_masonry"]
path = castle_masonry
url = https://github.com/minetest-mods/castle_masonry.git
[submodule "castle_shields"]
path = castle_shields
url = https://github.com/minetest-mods/castle_shields.git
[submodule "castle_storage"]
path = castle_storage
url = https://github.com/minetest-mods/castle_storage.git
[submodule "castle_tapestries"]
path = castle_tapestries
url = https://github.com/minetest-mods/castle_tapestries.git
[submodule "castle_weapons"]
path = castle_weapons
url = https://github.com/minetest-mods/castle_weapons.git
[submodule "crafting_bench"]
path = crafting_bench
url = https://github.com/minetest-mods/crafting_bench.git
[submodule "orbs_of_time"]
path = orbs_of_time
url = https://github.com/minetest-mods/orbs_of_time.git
[submodule "ropes"]
path = ropes
url = https://github.com/minetest-mods/ropes.git

View File

@ -1,18 +0,0 @@
PROJECT ?= castle_modpack
VERSION ?= $(shell git describe --tags --always)
all:
@echo "Nothing to do. Maybe you want `make dist` instead?"
dist:
@echo Running git archive...
git archive --prefix=$(PROJECT)-$(VERSION)/ -o $(PROJECT)-$(VERSION).tar $(VERSION)
@echo Running git archive submodules...
p=`pwd` && (echo .; git submodule foreach) | while read entering path; do \
temp="$${path%\'}"; \
temp="$${temp#\'}"; \
path=$$temp; \
[ "$$path" = "" ] && continue; \
(cd $$path && git archive --prefix=$(PROJECT)-$(VERSION)/$$path/ HEAD > $$p/tmp.tar && tar --concatenate --file=$$p/$(PROJECT)-$(VERSION).tar $$p/tmp.tar && rm $$p/tmp.tar); \
done

View File

@ -1,17 +1,11 @@
# Castles++
A modpack that contains a big variety of nodes and tools to build castles and castle dungeons.
![image](https://raw.githubusercontent.com/minetest-mods/castle/master/screenshot.png)
## Installation
This repository uses Git Modules, which are required in order for the mod to work properly.\
To clone the repository and its submodules, you will require the [Git Software](https://git-scm.com) and run this command.
```bash
git clone --recursive https://github.com/minetest-mods/castle.git
```
This mod works as a "metapackage", marking the mods it includes as dependencies to be installed alongside [on ContentDB](https://content.minetest.net/packages/philipbenr/castle/).
## License

1
anvil

@ -1 +0,0 @@
Subproject commit 42c84f0f694f820aae141df32192b458aaeecf51

@ -1 +0,0 @@
Subproject commit 2a4c263e6045e7d1a5ae5f2a3d87be20491ff238

@ -1 +0,0 @@
Subproject commit 80334ba480901480b1fc144b3b591b8a36b4eea3

@ -1 +0,0 @@
Subproject commit 7b6c8f2249f4c2ab9ab4d8046f6c11aa133232ee

@ -1 +0,0 @@
Subproject commit 94b25b549b502ceeff8d5aa596ddc977745f43ed

@ -1 +0,0 @@
Subproject commit ce853d7bed30a8eb8b646cac17114d12aefe0266

@ -1 +0,0 @@
Subproject commit 2b9e5f6bcbefa36894815eecf6a7d01829ad1b8d

@ -1 +0,0 @@
Subproject commit 955afb8885d2378cbd7038188726705c608c0c09

@ -1 +0,0 @@
Subproject commit 5f5232a685cc371e9decceb155467e462b6220fc

@ -1 +0,0 @@
Subproject commit 3aa4cfb8816b96d559154f918971f2709dd03d73

View File

@ -1 +0,0 @@
This is a modpack all about creating castles and castle dungeons.

1
init.lua Normal file
View File

@ -0,0 +1 @@
-- Empty

4
mod.conf Normal file
View File

@ -0,0 +1,4 @@
name = castle
title = Castles++
description = This is a modpack all about creating castles and castle dungeons.
depends = anvil, castle_farming, castle_gates, castle_lighting, castle_masonry, castle_shields, castle_storage, castle_tapestries, castle_weapons, crafting_bench, orbs_of_time, ropes

View File

@ -1 +0,0 @@
Subproject commit d46b3078a03527221bd63d0a9289e583f09767f0

1
ropes

@ -1 +0,0 @@
Subproject commit eec546558b8496d4d5a2adb833e77630b482e05d