-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update packages, update docs, bump to v3.0.0
- Loading branch information
Showing
23 changed files
with
321 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"folders": [ | ||
{ | ||
"name": "flutter-app-info", | ||
"path": "../", | ||
}, | ||
{ | ||
"name": "example (app)", | ||
"path": "../example", | ||
}, | ||
], | ||
"settings": { | ||
"files.exclude": { | ||
// Hide certain folders from side bar | ||
"example": true, | ||
"**/build": true, | ||
"**/.dart_tool": true, | ||
"**/.flutter-plugins": true, | ||
"**/.flutter-plugins-dependencies": true, | ||
"**/pubspec.lock": true, | ||
"**/.metadata": true, | ||
"**/node_modules": true, | ||
"**/package-lock.json": true, | ||
}, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
.DEFAULT_TARGET: init | ||
.PHONY: init code outdated upgrade analyze format format-ci test | ||
|
||
MAKEFLAGS = --no-print-directory | ||
ROOT = $(shell git rev-parse --show-toplevel) | ||
ARGS ?= | ||
|
||
init: | ||
@find $(ROOT) -name pubspec.yaml -execdir bash -c "pwd && flutter pub get" \; | ||
|
||
code: | ||
@code $(ROOT)/.vscode/flutter_app_info.code-workspace | ||
|
||
outdated: | ||
@flutter pub outdated $(ARGS) | ||
|
||
upgrade: | ||
@flutter pub upgrade $(ARGS) | ||
|
||
analyze: | ||
@flutter analyze $(ARGS) | ||
|
||
format: | ||
@dart format lib | ||
@dart fix --apply | ||
|
||
format-ci: | ||
@dart format lib --set-exit-if-changed | ||
|
||
test: | ||
@flutter test -r expanded $(ARGS) | ||
|
||
publish: | ||
@flutter pub publish --dry-run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
include: package:flutter_lints/flutter.yaml | ||
include: package:very_good_analysis/analysis_options.yaml | ||
|
||
# Additional information about this file can be found at | ||
# https://dart.dev/guides/language/analysis-options | ||
linter: | ||
rules: | ||
lines_longer_than_80_chars: false | ||
flutter_style_todos: false | ||
cascade_invocations: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "MacOS", | ||
"request": "launch", | ||
"type": "dart", | ||
"program": "lib/main.dart", | ||
"args": [ | ||
"--debug", | ||
"--device-id", | ||
"macOS" | ||
] | ||
}, | ||
{ | ||
"name": "Web", | ||
"request": "launch", | ||
"type": "dart", | ||
"program": "lib/main.dart", | ||
"args": [ | ||
"--debug", | ||
"--device-id", | ||
"chrome", | ||
"--web-renderer", | ||
"html", | ||
"--web-hostname", | ||
"localhost", | ||
"--web-port", | ||
"3000", | ||
] | ||
}, | ||
{ | ||
"name": "Linux", | ||
"request": "launch", | ||
"type": "dart", | ||
"program": "lib/main.dart", | ||
"args": [ | ||
"--debug", | ||
"--device-id", | ||
"linux" | ||
] | ||
}, | ||
{ | ||
"name": "Windows", | ||
"request": "launch", | ||
"type": "dart", | ||
"program": "lib/main.dart", | ||
"args": [ | ||
"--debug", | ||
"--device-id", | ||
"windows" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
.DEFAULT_TARGET: init | ||
.PHONY: init code outdated upgrade analyze format test | ||
|
||
MAKEFLAGS = --no-print-directory | ||
ROOT = $(shell git rev-parse --show-toplevel) | ||
ARGS ?= | ||
|
||
init: | ||
@find $(ROOT) -name pubspec.yaml -execdir bash -c "pwd && flutter pub get" \; | ||
|
||
code: | ||
@code $(ROOT)/.vscode/flutter_tailwind_ui.code-workspace | ||
|
||
outdated: | ||
@flutter pub outdated $(ARGS) | ||
|
||
upgrade: | ||
@flutter pub upgrade $(ARGS) | ||
|
||
analyze: | ||
@flutter analyze $(ARGS) | ||
|
||
format: | ||
@dart format lib | ||
@dart fix --apply | ||
|
||
format-ci: | ||
@dart format lib --set-exit-if-changed | ||
|
||
test: | ||
@flutter test -r expanded $(ARGS) | ||
|
||
clean: | ||
@flutter clean | ||
@make init | ||
|
||
build-linux: clean | ||
@flutter build linux | ||
|
||
build-macos: clean | ||
@flutter build macos | ||
|
||
build-web: clean | ||
@flutter build web --tree-shake-icons | ||
|
||
build-windows: clean | ||
@flutter build windows | ||
|
||
run: clean | ||
@flutter run --release | ||
|
||
run-linux: clean | ||
@flutter run --release -d linux | ||
|
||
run-macos: clean | ||
@flutter run --release -d macos | ||
|
||
run-web: clean | ||
@flutter run --release -d chrome | ||
|
||
run-windows: clean | ||
@flutter run --release -d windows | ||
|
||
pods-macos: clean | ||
rm -rf ~/Library/Developer/Xcode/DerivedData | ||
cd macos && rm -rf Podfile.lock | ||
cd macos && rm -rf Pods | ||
cd macos && pod repo update | ||
cd macos && pod cache clean --all | ||
cd macos && pod deintegrate | ||
cd macos && pod setup | ||
cd macos && pod install --repo-update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.