Add build setup script and make mastodont-c a submodule as well so it can be cloned outside the container

This commit is contained in:
ICScaryThings 2022-05-20 23:46:54 -04:00
parent c27c4d6456
commit ac5eaa7dac
3 changed files with 15 additions and 0 deletions

3
.gitmodules vendored
View file

@ -1,3 +1,6 @@
[submodule "treebird"]
path = treebird
url = https://git.nekobit.net/repos/treebird.git
[submodule "mastodont-c"]
path = mastodont-c
url = https://git.nekobit.net/repos/mastodont-c.git

11
build_setup.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/sh
# Setup steps to preform before the actual build
git submodule init
git submodule update
cp -r mastodont-c treebird/
cp treebird/{config.def.h,config.h}
ln -s treebird/config.h .
echo "Please edit config.h (symlinked for convenience) as needed, then run ./build_container.sh"

1
mastodont-c Submodule

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