aboutsummaryrefslogtreecommitdiff
path: root/update-demos
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2019-05-23 13:17:38 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2019-08-01 14:54:07 +0200
commit40da2eb8bc5cad1170d689c135e53c6c180ed965 (patch)
treed1458aa8decb0d6511faddae70db5c48bda99236 /update-demos
parentb4eeed35d78f82ea988d70de177d522ca20257ea (diff)
downloadee-python-40da2eb8bc5cad1170d689c135e53c6c180ed965.tar.gz
ee-python-40da2eb8bc5cad1170d689c135e53c6c180ed965.tar.bz2
ee-python-40da2eb8bc5cad1170d689c135e53c6c180ed965.tar.xz
ee-python-40da2eb8bc5cad1170d689c135e53c6c180ed965.zip
Updating all demos.
Diffstat (limited to 'update-demos')
-rwxr-xr-xupdate-demos33
1 files changed, 33 insertions, 0 deletions
diff --git a/update-demos b/update-demos
new file mode 100755
index 0000000..b91d014
--- /dev/null
+++ b/update-demos
@@ -0,0 +1,33 @@
+#!/bin/bash
+
+set -euo pipefail
+
+set -x
+
+init_dir() {
+ dir=$1; shift;
+ rm -rf $dir
+ mkdir $dir
+
+ (cat <<EOF
+ee/cache
+.ninja_*
+EOF
+) > $dir/.gitignore
+}
+
+init_dir demo/thirdparty/olinuxino
+cd demo/thirdparty/olinuxino
+ee init --basedir=../../../thirdparty/olinuxino/HARDWARE/A64-OLinuXino/A64-OLinuXino_Rev_D
+ee ninja
+ninja -v -j1
+git add -A .
+cd -
+
+init_dir demo/thirdparty/unlockoslo-alpha-3
+cd $dir
+ee init --basedir=../../../thirdparty/unlockoslo/hardware/alpha-3
+ee ninja
+ninja -v -j1
+git add -A .
+cd -