summaryrefslogtreecommitdiff
path: root/scripts/project_init.sh
blob: 40f9457fd9a484f4e4b037803911640f6c4740a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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."