ElyDoc, ElyTable, ElyShow (LibreOfficeKit), ElyPDF (MuPDF), ElyTree (Git), ElyMark (Milkdown and CodeMirror in CEF). ElyMail and ElyAgent follow.
14 lines
558 B
Bash
Executable File
14 lines
558 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# CEF's minimal build at cef-rs's pin, SHA-1 checked, into engines/cef.
|
|
set -euo pipefail
|
|
|
|
root=$(cd "$(dirname "$0")/.." && pwd)
|
|
[ -d "$root/reference/cef-rs" ] || { echo "fetch-cef: run scripts/fetch-references.sh first" >&2; exit 1; }
|
|
work=$(mktemp -d)
|
|
trap 'rm -rf "$work"' EXIT
|
|
cd "$root/reference/cef-rs"
|
|
# The exporter checks each archive against CEF's own index.
|
|
CARGO_TARGET_DIR="$work" cargo run -q -p export-cef-dir -- --force "$root/engines/cef"
|
|
rm -f "$root"/engines/cef_binary_*.tar.bz2
|
|
cat "$root/engines/cef/archive.json"
|