File: render-all

package info (click to toggle)
gmobile 0.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 688 kB
  • sloc: ansic: 2,605; sh: 37; xml: 32; python: 11; makefile: 9; javascript: 6
file content (13 lines) | stat: -rwxr-xr-x 293 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

set -e

OUT=_build/out/
DTS=$(sed -n -e 's,.*devices/display-panels/\([a-z0-9,]\+\).json<.*,\1,p' data/gmobile.gresources.xml)

export G_DEBUG=fatal-warnings

mkdir -p "${OUT}"
for DT in ${DTS}; do
  _build/examples/gm-display-panel-preview -c "${DT}" -o "${OUT}/${DT}.html"
done