Skip to content

Commit

Permalink
build: update melos files
Browse files Browse the repository at this point in the history
  • Loading branch information
CaiJingLong committed May 20, 2023
1 parent ad700a6 commit 66ea70b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
11 changes: 11 additions & 0 deletions index_generator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
index_generator:
exclude:
- '**.g.dart'
# Define the paths of the folders in which to generate the index files
indexes:
- path: lib
disclaimer: false
comments: |
Copyright 2023 The dart-action Authors. All rights reserved.
Use of this source code is governed by a Apache 2.0 license that can be
found in the LICENSE file.
7 changes: 6 additions & 1 deletion melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ scripts:
exec: dart format --set-exit-if-changed .
cp_files:
exec: cp ../../LICENSE . && cp ../../.markdownlint.jsonc .

index_file:
exec: |
cp ../../index_generator.yaml .
dart pub add dev:index_generator:^3.4.0
dart pub get
dart run index_generator:index_generator
sdkPath: auto

command:
Expand Down

0 comments on commit 66ea70b

Please sign in to comment.