diff options
Diffstat (limited to 'scripts/project_init.sh')
| -rwxr-xr-x | scripts/project_init.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/project_init.sh b/scripts/project_init.sh new file mode 100755 index 0000000..40f9457 --- /dev/null +++ b/scripts/project_init.sh @@ -0,0 +1,17 @@ +#!/bin/sh +# Fetch minimal third-party dependencies + +set -e + +echo "Initializing demo64k dependencies..." + +mkdir -p third_party + +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 +else + echo "miniaudio.h already present." +fi + +echo "Done." |
