From 48a73001d750430fe9313b709ef679e6e767114d Mon Sep 17 00:00:00 2001 From: Khoren Markosyan Date: Sat, 17 Sep 2022 22:21:15 +0400 Subject: [PATCH] integrated melos --- .github/workflows/main.yml | 5 ++++- lib/src/logic/zxing.dart | 1 + melos.yaml | 6 ++++++ 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 melos.yaml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cb479a7..33e83f9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,8 +24,11 @@ jobs: channel: "stable" cache: true + # Setup the melos environment. + - uses: bluefireteam/melos-action@v1 + - name: Install dependencies - run: flutter pub get + run: melos bootstrap - name: Verify formatting run: flutter format . diff --git a/lib/src/logic/zxing.dart b/lib/src/logic/zxing.dart index b3cb2b8..a46e31f 100644 --- a/lib/src/logic/zxing.dart +++ b/lib/src/logic/zxing.dart @@ -1,6 +1,7 @@ import 'dart:ffi'; import 'dart:io'; import 'dart:isolate'; +// ignore: unnecessary_import import 'dart:typed_data'; import 'package:camera/camera.dart'; diff --git a/melos.yaml b/melos.yaml new file mode 100644 index 0000000..2017c10 --- /dev/null +++ b/melos.yaml @@ -0,0 +1,6 @@ +name: flutter_zxing + +packages: + - example/** + - zxscanner/** + - '*' \ No newline at end of file