加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 1.38 KB
一键复制 编辑 原始数据 按行查看 历史
Paul Copplestone 提交于 2021-07-25 12:45 . fetch all contributors
REPO_DIR=$(shell pwd)
help:
@echo "\SCRIPTS\n"
@echo "make github.contributors # pull a list of all contributors"
@echo "make github.issues # pull a list of all issue creators"
@echo "make github.repos # pull a list of our repos"
@echo "make github.traction # get a history of stargazers for our individual repos"
github.contributors.%:
curl -sS https://api.github.com/repos/supabase/$*/contributors \
| jq -r 'map_values({ username: .login }) \
| unique \
| sort_by(.username)' \
> $(REPO_DIR)/web/src/data/contributors/$*.json
.PHONY: github.rcontributorsepos
github.contributors: \
github.contributors.supabase \
github.contributors.supabase-js \
github.contributors.supabase-py \
github.contributors.supabase-flutter \
github.contributors.supabase-dart
github.issues:
curl -sS https://api.github.com/repos/supabase/supabase/issues \
| jq -r 'map_values({username: .user.login, avatar_url: .user.avatar_url}) \
| unique \
| sort_by(.username)' \
> $(REPO_DIR)/web/src/data/contributors/issues.json
.PHONY: github.repos
github.repos: \
github.repos.supabase \
github.repos.realtime \
github.repos.postgres \
github.repos.postgres-meta
github.repos.%:
curl -sS https://api.github.com/repos/supabase/$* \
> $(REPO_DIR)/web/src/data/repos/$*.json
github.traction:
cd "$(REPO_DIR)"/web && \
npm run traction
dev:
vercel dev --listen 8080 --local-config vercel-local.json
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化