summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/project_init.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/project_init.sh b/scripts/project_init.sh
index 5a6ac28..4ee1c13 100755
--- a/scripts/project_init.sh
+++ b/scripts/project_init.sh
@@ -7,6 +7,14 @@ echo "Initializing demo64k dependencies..."
mkdir -p third_party
+if [ ! -f third_party/stb_image_write.h ]; then
+ echo "Fetching stb_image_write.h..."
+ curl -L https://raw.githubusercontent.com/nothings/stb/master/stb_image_write.h \
+ -o third_party/stb_image_write.h
+else
+ echo "stb_image_write.h already present."
+fi
+
if [ ! -f third_party/miniaudio.h ]; then
echo "Fetching miniaudio.h..."
curl -L https://raw.githubusercontent.com/mackron/miniaudio/master/miniaudio.h -o third_party/miniaudio.h