Use cpp-httplib via a submodule.

This removes the need to script out the fetching of the other
repository. Submodule stores the version of the sub-repository.
This commit is contained in:
Maciej Bliziński 2024-07-23 13:52:37 +01:00
parent 3d240fd406
commit 48444bec65
No known key found for this signature in database
GPG Key ID: B1234ED6A2A7401B
4 changed files with 4 additions and 10 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "3rdparty/cpp-httplib"]
path = 3rdparty/cpp-httplib
url = git@github.com:bondagit/cpp-httplib.git

2
3rdparty/.gitignore vendored
View File

@ -1,3 +1 @@
/ravenna-alsa-lkm
/cpp-httplib

1
3rdparty/cpp-httplib vendored Submodule

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

View File

@ -17,14 +17,6 @@ if [ ! -d ravenna-alsa-lkm ]; then
cd ../..
fi
if [ ! -d cpp-httplib ]; then
git clone https://github.com/bondagit/cpp-httplib.git
cd cpp-httplib
git checkout 42f9f9107f87ad2ee04be117dbbadd621c449552
cd ..
fi
cd ..
cd webui
echo "Downloading current webui release ..."
wget --timestamping https://github.com/bondagit/aes67-linux-daemon/releases/latest/download/webui.tar.gz