diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2019-05-23 13:17:38 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2019-08-01 14:54:07 +0200 |
commit | 40da2eb8bc5cad1170d689c135e53c6c180ed965 (patch) | |
tree | d1458aa8decb0d6511faddae70db5c48bda99236 /update-demos | |
parent | b4eeed35d78f82ea988d70de177d522ca20257ea (diff) | |
download | ee-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-x | update-demos | 33 |
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 - |