glutanimate / anki-addons-misc

Various add-ons I've written for Anki
https://ankiweb.net/shared/addons/
GNU Affero General Public License v3.0
170 stars 56 forks source link

Add missing manifest.json files #180

Open jneidel opened 3 years ago

jneidel commented 3 years ago

I wanted to build the ankiaddon files locally using make ankiaddon, which would skip all but three addons because of their missing manifest.json files.

I generated the manifest files using:

find . -type d | grep -ve "common_ctrlf_search" -e "reviewer_more_answer_buttons" -e "tagedit_subtag_completer" | cut -d/ -f2 |
  while read d; do echo "{\n  \"name\": \"$(echo $d | cut -d_ -f2- | sed 's|_| |g; s/\b\(.\)/\u\1/g' )\",\n  \"package\": \"$d\"\n}" >$d/manifest.json; done

make ankiaddon runs fine now. Anki accepts the manifest as well.