-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update deps * update example * update example * update readme
- Loading branch information
Showing
9 changed files
with
83 additions
and
20 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,33 @@ | ||
name: Run example | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
paths-ignore: [ '**.md' ] | ||
pull_request: | ||
branches: [ master ] | ||
paths-ignore: [ '**.md' ] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
run-example: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./example | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup Dart | ||
uses: dart-lang/[email protected] | ||
with: | ||
sdk: stable | ||
|
||
- name: Print Dart version | ||
run: dart --version | ||
|
||
- name: Install dependencies | ||
run: dart pub get | ||
|
||
- name: Run lib/disposebag_example.dart | ||
run: dart run lib/disposebag_example.dart |
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,6 +1,17 @@ | ||
include: package:pedantic/analysis_options.1.11.0.yaml | ||
include: package:lints/recommended.yaml | ||
|
||
analyzer: | ||
strong-mode: | ||
implicit-casts: false | ||
implicit-dynamic: false | ||
|
||
linter: | ||
rules: | ||
- prefer_final_locals | ||
- public_member_api_docs | ||
- prefer_relative_imports | ||
- prefer_final_locals | ||
- prefer_relative_imports | ||
# https://github.com/dart-lang/lints#migrating-from-packagepedantic | ||
- always_declare_return_types | ||
- prefer_single_quotes | ||
- unawaited_futures | ||
- unsafe_html |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: disposebag_example | ||
description: disposebag_example | ||
publish_to: none | ||
version: 1.5.0 | ||
|
||
environment: | ||
sdk: '>=2.12.0 <3.0.0' | ||
|
||
dependencies: | ||
disposebag: any | ||
|
||
dependency_overrides: | ||
disposebag: | ||
path: ../../disposebag |
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