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

Add support for the --test option for package #3512

Open
Gedochao opened this issue Feb 20, 2025 · 0 comments
Open

Add support for the --test option for package #3512

Gedochao opened this issue Feb 20, 2025 · 0 comments
Labels
missing feature Something should have been implemented, but wasn't. package command
Milestone

Comments

@Gedochao
Copy link
Contributor

Is your feature request related to a problem? Please describe.
To be consistent with other build methods, it should be possible to package the test scope along with main when using the package command.

Describe the solution you'd like
A --test command line option, similar to repl and compile.

Describe alternatives you've considered
Currently it's possible to compile the test scope separately and then add the output to the classpath for package.
It's a hassle though, and requires 2 separate scala-cli calls.

Additional context

@Gedochao Gedochao added missing feature Something should have been implemented, but wasn't. package command labels Feb 20, 2025
@Gedochao Gedochao added this to the v1.7.0 milestone Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missing feature Something should have been implemented, but wasn't. package command
Projects
None yet
Development

No branches or pull requests

1 participant