Refactor /.autogen (#3551)

* Create patreon.jq

* Create check_pr.jq

* Rename check_pr.jq to .autogen/check_pr.jq

* Create next_url.jq

* Update autogen.sh

* Rename autogen.sh to update_readme_patreon.sh
This commit is contained in:
Acid Chicken (硫酸鶏) 2018-12-10 23:22:52 +09:00 committed by MeiMei
parent a6dc0f3684
commit e16906afc3
4 changed files with 47 additions and 3 deletions

39
.autogen/patreon.jq Normal file
View file

@ -0,0 +1,39 @@
(
.data |
map(
select(
.relationships
.currently_entitled_tiers
.data[]
)
) |
map(
.relationships
.user
.data
.id
)
) as $data |
.included |
map(
select(
.id as $id |
$data |
contains(
[
$id
]
)
)
) |
map(
.attributes |
[
.full_name,
.thumb_url,
.url
] |
@tsv
) |
.[] |
@text