From ba6e043c28cebf8138974a29b03974963d99b123 Mon Sep 17 00:00:00 2001 From: iceyrazor Date: Mon, 28 Sep 2026 19:30:33 -0500 Subject: removed get-libs.sh. using submodules now --- .gitignore | 1 - .gitmodules | 3 +++ README.md | 5 ++++- build.sh | 4 ++-- get-libs.sh | 2 -- get-reqs.sh | 2 -- libs/tinyosc | 1 + 7 files changed, 10 insertions(+), 8 deletions(-) create mode 100644 .gitmodules delete mode 100755 get-libs.sh delete mode 100755 get-reqs.sh create mode 160000 libs/tinyosc diff --git a/.gitignore b/.gitignore index b47d68b..3d81b6a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ bin/** -tinyosc/ src/config.c diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..61af03f --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "libs/tinyosc"] + path = libs/tinyosc + url = https://github.com/mhroth/tinyosc.git diff --git a/README.md b/README.md index 9c993c0..4bdb8d1 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,10 @@ This is made for me so its complicated to use. # Installation / Setup -- run ``getreqs.sh`` or download tinyosc and put it in this directory. +- run + - ``git clone --recursive repo`` or. + - ``git submodule init`` then ``git submodule update`` or + - download tinyosc and put it in libs. - run ``build.sh`` once or ``cp src/config.def.c src/config.c``. - edit ``src/config.c`` to your liking. - run ``build.sh``. diff --git a/build.sh b/build.sh index f90f790..d5bae99 100755 --- a/build.sh +++ b/build.sh @@ -1,9 +1,9 @@ #!/bin/sh DEBUG="" -LIB="-I tinyosc" +LIB="-I libs/tinyosc" -[ ! -d "bin" ] && mkdir bin +mkdir -p bin while getopts "d" opt; do case "$opt" in diff --git a/get-libs.sh b/get-libs.sh deleted file mode 100755 index b7734e6..0000000 --- a/get-libs.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -git clone --depth 1 --revision 7acc37ad4ea555c1ab8b89c4e94eac84e6af8d3a https://github.com/mhroth/tinyosc.git \ No newline at end of file diff --git a/get-reqs.sh b/get-reqs.sh deleted file mode 100755 index b7734e6..0000000 --- a/get-reqs.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -git clone --depth 1 --revision 7acc37ad4ea555c1ab8b89c4e94eac84e6af8d3a https://github.com/mhroth/tinyosc.git \ No newline at end of file diff --git a/libs/tinyosc b/libs/tinyosc new file mode 160000 index 0000000..7acc37a --- /dev/null +++ b/libs/tinyosc @@ -0,0 +1 @@ +Subproject commit 7acc37ad4ea555c1ab8b89c4e94eac84e6af8d3a -- cgit v1.3