Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do error message pass (especially for generic/js) #1333

Open
ashleygwilliams opened this issue Aug 17, 2024 · 2 comments
Open

do error message pass (especially for generic/js) #1333

ashleygwilliams opened this issue Aug 17, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ashleygwilliams
Copy link
Member

repro

  1. add dist-workspace.toml
  2. run cargo dist init
✔ added [dist] to your root dist-workspace.toml
✔ cargo-dist is setup!

running 'cargo dist generate' to apply any changes

  × cargo dist panicked.
  ├─▶ at cargo-dist/src/build/generic.rs:59:26
  ╰─▶ A build command is mandatory for generic builds
  help: set the `RUST_BACKTRACE=1` environment variable to display a backtrace.
@ashleygwilliams ashleygwilliams added the bug Something isn't working label Aug 17, 2024
@ashleygwilliams
Copy link
Member Author

this error message needs to say something about adding the dist.js and npm scripts

@ashleygwilliams
Copy link
Member Author

(also we should not panic, definitely should be a handled error)

@Gankra Gankra changed the title unhelpful error message when setting up js project do error message pass (especially for generic/js) Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant