Skip to content

Commit

Permalink
docs: Codecov.
Browse files Browse the repository at this point in the history
  • Loading branch information
pattobrien committed Feb 14, 2024
1 parent 4b08e69 commit 7784109
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 188 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ jobs:
- name: Code coverage
run: dart run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --report-on=lib
working-directory: ${{ matrix.package }}
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
env:
token: ${{ secrets.CODECOV_TOKEN }}
slug: pattobrien/cli-gen
directory: ./src/cli_gen/coverage/reports/

# dependency_bot:
# runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ A package for building cli applications using code generation and macros.

The ability to quickly whip up a CLI application is a powerful skill for a developer to have. Yet the boilerplate of `cli` Dart libraries like `package:args` leave a lot to desire in terms of quickly getting a script up and running.

`cli-gen` aims to be a quality-of-life improvement for creating CLI apps, by providing the following benefits:
`cli-gen` aims to be a quality-of-life improvement for building and maintaining CLI apps, by providing the following benefits:

- type-safe arguments
- `help` text generation from doc comments and Types
Expand Down
10 changes: 0 additions & 10 deletions example/lib/runner.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

105 changes: 0 additions & 105 deletions lib/runner.dart

This file was deleted.

19 changes: 0 additions & 19 deletions lib/runner.g.dart

This file was deleted.

12 changes: 0 additions & 12 deletions lib/value.dart

This file was deleted.

41 changes: 0 additions & 41 deletions lib/x.dart

This file was deleted.

16 changes: 16 additions & 0 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,22 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.1.0"
freezed:
dependency: "direct dev"
description:
name: freezed
sha256: "57247f692f35f068cae297549a46a9a097100685c6780fe67177503eea5ed4e5"
url: "https://pub.dev"
source: hosted
version: "2.4.7"
freezed_annotation:
dependency: "direct main"
description:
name: freezed_annotation
sha256: c3fd9336eb55a38cc1bbd79ab17573113a8deccd0ecbbf926cca3c62803b5c2d
url: "https://pub.dev"
source: hosted
version: "2.4.1"
frontend_server_client:
dependency: transitive
description:
Expand Down
2 changes: 2 additions & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ dependencies:
analyzer: ^6.4.1
args: ^2.4.2
cli_annotations: ^0.1.0-dev.1
freezed_annotation: ^2.4.1
json_annotation: ^4.8.1

dev_dependencies:
build_runner: ^2.4.8
freezed: ^2.4.7
json_serializable: ^6.7.1
lints: ^3.0.0
melos: ^4.1.0
Expand Down

0 comments on commit 7784109

Please sign in to comment.