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

Improve the export command messages #978

Merged
merged 2 commits into from
May 5, 2022

Conversation

Gedochao
Copy link
Contributor

@Gedochao Gedochao commented May 5, 2022

Fixes #958
Partially addresses #957 by adding some extra messages when the export command is executed

@Gedochao Gedochao requested a review from lwronski May 5, 2022 11:31
@Gedochao Gedochao force-pushed the 958-improve-export-output branch from 89607fe to 24ec0bb Compare May 5, 2022 11:48
  - fail early with a more descriptive message when the output path exists
  - fail early if an export to multiple build tools is requested
  - print the output path if the export is successful
  - print a relevant information early if the export is successfully started (in case it loads too long)
@Gedochao Gedochao force-pushed the 958-improve-export-output branch from 24ec0bb to 520de16 Compare May 5, 2022 11:54
  - add explicit types where relevant
  - remove unnecessary passing of default params
@Gedochao Gedochao force-pushed the 958-improve-export-output branch from 520de16 to 2982e7f Compare May 5, 2022 12:01
@Gedochao Gedochao merged commit 2bb79c1 into VirtusLab:main May 5, 2022
@Gedochao Gedochao deleted the 958-improve-export-output branch May 5, 2022 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

scala-cli export: Misleading error message when no dest
3 participants