forked from q/element-web-patches
add
This commit is contained in:
parent
6362b0a28d
commit
373b9116cc
20
reactions/generate.sh
Executable file
20
reactions/generate.sh
Executable file
@ -0,0 +1,20 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# Run fetch-latest-format.sh for the most up-to-date emojibase format. Target is raw.json
|
||||||
|
reactions="$(yq . /dev/stdin < reactions.yaml)"
|
||||||
|
jq -n --argjson reactions "$reactions" \
|
||||||
|
'[
|
||||||
|
$reactions[] | {
|
||||||
|
label: .,
|
||||||
|
hexcode: "2721",
|
||||||
|
tags: [ . ],
|
||||||
|
emoji: .,
|
||||||
|
text: .,
|
||||||
|
type: 0,
|
||||||
|
order: 0,
|
||||||
|
group: 8,
|
||||||
|
subgroup: 93,
|
||||||
|
version: 0.7
|
||||||
|
}
|
||||||
|
]'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user