Adding a simple script for getting our traction

This commit is contained in:
Paul Copplestone
2020-01-27 21:43:24 +08:00
parent b648617cf3
commit 6bb9eafe15
9 changed files with 409 additions and 35 deletions

View File

@@ -4,6 +4,7 @@ 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.users:
@@ -20,5 +21,15 @@ github.issues:
| sort_by(.username)' \
> $(REPO_DIR)/web/src/data/contributors/issues.json
.PHONY: github.repos
github.repos: \
github.repos.monorepo \
github.repos.realtime \
github.repos.schemas
github.repos.%:
curl -sS https://api.github.com/repos/supabase/$* \
> $(REPO_DIR)/web/src/data/repos/$*.json
github.traction: \
cd web && npm run traction