mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 13:54:20 +01:00
make it easier to use local packages
This commit is contained in:
1
snippets/dart_snippets/.gitignore
vendored
1
snippets/dart_snippets/.gitignore
vendored
@@ -1,3 +1,4 @@
|
||||
# https://dart.dev/guides/libraries/private-files
|
||||
# Created by `dart pub`
|
||||
.dart_tool/
|
||||
packages/
|
||||
@@ -1,2 +1,6 @@
|
||||
A sample command-line application with an entrypoint in `bin/`, library code
|
||||
in `lib/`, and example unit test in `test/`.
|
||||
## Steps to compile the snippets locally
|
||||
1. Build a flutter package
|
||||
- By running the publish-all-platforms CI in the breez-sdk repository (use dummy binaries)
|
||||
- or by cloning https://github.com/breez/breez-sdk-flutter
|
||||
2. Place the files in the folder `snippets/dart-snippets/packages/breez-sdk-flutter`
|
||||
3. happy coding
|
||||
@@ -19,9 +19,9 @@ include: package:lints/recommended.yaml
|
||||
# rules:
|
||||
# - camel_case_types
|
||||
|
||||
# analyzer:
|
||||
# exclude:
|
||||
# - path/to/excluded/files/**
|
||||
analyzer:
|
||||
exclude:
|
||||
- packages/**
|
||||
|
||||
# For more information about the core and recommended set of lints, see
|
||||
# https://dart.dev/go/core-lints
|
||||
|
||||
@@ -8,7 +8,7 @@ environment:
|
||||
|
||||
dependencies:
|
||||
breez_sdk:
|
||||
path: ../../breez-sdk-flutter
|
||||
path: ./packages/breez-sdk-flutter
|
||||
|
||||
dev_dependencies:
|
||||
lints: ^2.0.0
|
||||
|
||||
Reference in New Issue
Block a user