flutter_timeline/melos.yaml

44 lines
1.1 KiB
YAML
Raw Normal View History

2023-10-09 08:16:04 +02:00
# SPDX-FileCopyrightText: 2023 Iconica
#
# SPDX-License-Identifier: GPL-3.0-or-later
2023-10-09 07:48:03 +02:00
name: flutter_timeline
packages:
- packages/**
command:
version:
branch: master
scripts:
lint:all:
2023-11-19 16:14:26 +01:00
run: dart run melos run analyze && dart run melos run format-check
2023-10-09 07:48:03 +02:00
description: Run all static analysis checks.
get:
run: |
2023-11-19 16:14:26 +01:00
dart run melos exec -c 1 -- "flutter pub get"
dart run melos exec --scope="*example*" -c 1 -- "flutter pub get"
2023-10-09 07:48:03 +02:00
upgrade:
2023-11-19 16:14:26 +01:00
run: dart run melos exec -c 1 -- "flutter pub upgrade"
2023-10-09 07:48:03 +02:00
create:
# run create in the example folder of flutter_timeline_view
2023-11-19 16:14:26 +01:00
run: dart run melos exec --scope="*example*" -c 1 -- "flutter create ."
2023-10-09 07:48:03 +02:00
analyze:
run: |
2023-11-19 16:14:26 +01:00
dart run melos exec -c 1 -- \
2023-10-09 07:48:03 +02:00
flutter analyze --fatal-infos
description: Run `flutter analyze` for all packages.
format:
2023-11-19 16:14:26 +01:00
run: dart run melos exec dart format .
2023-10-09 07:48:03 +02:00
description: Run `flutter format` for all packages.
format-check:
2023-11-19 16:14:26 +01:00
run: dart run melos exec dart format . --set-exit-if-changed
2023-10-09 07:48:03 +02:00
description: Run `flutter format` checks for all packages.