chore: add dep upgrade script

This commit is contained in:
Rongjian Zhang 2022-10-17 00:23:44 +08:00
parent 4595f61961
commit 51bd138951
3 changed files with 8 additions and 11 deletions

2
.gitignore vendored
View File

@ -45,3 +45,5 @@ app.*.map.json
/android/app/debug
/android/app/profile
/android/app/release
packages/*/pubspec.lock

View File

@ -11,3 +11,9 @@ schema:
format:
dartfmt --overwrite lib/**/*.dart
upgrade:
cd packages/github_trending && flutter pub upgrade --major-versions && \
cd ../gql_github && flutter pub upgrade --major-versions && \
cd ../gql_gitlab && flutter pub upgrade --major-versions && \
cd ../.. && flutter pub upgrade --major-versions

View File

@ -1,11 +0,0 @@
# Files and directories created by pub
.dart_tool/
.packages
# Remove the following pattern if you wish to check in your lock file
pubspec.lock
# Conventional directory for build outputs
build/
# Directory created by dartdoc
doc/api/