onepub-dev / onepub-dev/dcli

When compiling a package report if no exes found

Open
#264 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dart
Stars
265
Forks
30
PR merge metrics
No merged PRs in 30d

Description

The compile --package options expects to compile any libraries listed under the exe section of pubspec.yaml.

If no exes are found we need to report this fact as current it just completes with no details of why it did't
compile anything.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the compile --package command and trace how the exe section of pubspec.yaml is read and handled when it contains no executables. Run the command with a package that has no exes; done means it clearly reports that no executables were found instead of completing without details.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.