ci: use vscode tasks and makefile

This commit is contained in:
Rongjian Zhang
2022-10-02 00:59:01 +08:00
parent 706d456c46
commit 3474d931ac
6 changed files with 42 additions and 17 deletions

13
makefile Normal file
View File

@@ -0,0 +1,13 @@
.PHONY: build
build:
npx conventional-changelog-cli -p angular -i CHANGELOG.md -s -r 0
flutter build ios --no-tree-shake-icons
flutter build apk --no-tree-shake-icons
schema:
# https://docs.github.com/en/graphql/overview/public-schema
curl -o packages/gql_github/lib/schema.graphql https://docs.github.com/public/schema.docs.graphql
npx --yes get-graphql-schema https://gitlab.com/api/graphql > packages/gql_gitlab/lib/schema.graphql
format:
dartfmt --overwrite lib/**/*.dart