aboutsummaryrefslogtreecommitdiff
path: root/download-deps
diff options
context:
space:
mode:
Diffstat (limited to 'download-deps')
-rwxr-xr-xdownload-deps10
1 files changed, 10 insertions, 0 deletions
diff --git a/download-deps b/download-deps
new file mode 100755
index 00000000..7cb06d1b
--- /dev/null
+++ b/download-deps
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+test -f v4.7.0.tar.gz || curl -sOL https://github.com/staaky/tipped/archive/v4.7.0.tar.gz
+test -d static/tipped-4.7.0/ || tar xf v4.7.0.tar.gz -C static tipped-4.7.0/dist/
+
+jquery="jquery-3.1.1.min.js"
+test -f "static/$jquery" || {
+ cd static
+ curl -sOL "https://code.jquery.com/$jquery"
+}