diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2023-12-29 06:21:33 +0100 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2023-12-29 06:21:33 +0100 |
commit | 2d6c8fec45b23a8a28668ecf3ef281139ab778a7 (patch) | |
tree | 75d2a8538992129a83c0c2b83688289443d697e5 /refetch_deps.sh | |
parent | 820b171245f2f14766f3accdb0246a4e2c0d596a (diff) | |
download | saw-2d6c8fec45b23a8a28668ecf3ef281139ab778a7.zip |
refactor dependencies; include dependencies source code
Diffstat (limited to 'refetch_deps.sh')
-rw-r--r-- | refetch_deps.sh | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/refetch_deps.sh b/refetch_deps.sh deleted file mode 100644 index d3081b2..0000000 --- a/refetch_deps.sh +++ /dev/null @@ -1,38 +0,0 @@ -if [ -d "source/kit" ]; then - rm -rf "source/kit" -fi -if [ -d "source/stb" ]; then - rm -rf "source/stb" -fi -if [ -f "source/thirdparty/miniaudio.h" ]; then - rm -rf "source/thirdparty/miniaudio.h" -fi -if [ -d "_tmp_kit" ]; then - rm -rf "_tmp_kit" -fi -if [ -d "_tmp_stb" ]; then - rm -rf "_tmp_stb" -fi -if [ -d "_tmp_miniaudio" ]; then - rm -rf "_tmp_miniaudio" -fi - -git clone --quiet --depth 1 https://guattari.tech/kit.git _tmp_kit -git clone --quiet --depth 1 https://github.com/nothings/stb.git _tmp_stb -git clone --quiet --depth 1 https://github.com/mackron/miniaudio.git _tmp_miniaudio - -if [ ! -d "source/stb" ]; then - mkdir "source/stb" -fi -if [ ! -d "source/thirdparty" ]; then - mkdir "source/thirdparty" -fi - -mv "_tmp_kit/source/kit" "source/kit" -mv "_tmp_stb/stb_image.h" "source/stb/stb_image.h" -mv "_tmp_stb/stb_truetype.h" "source/stb/stb_truetype.h" -mv "_tmp_miniaudio/miniaudio.h" "source/thirdparty/miniaudio.h" - -rm -rf "_tmp_kit" -rm -rf "_tmp_stb" -rm -rf "_tmp_miniaudio" |