Custom scopes?
#3124
Replies: 1 comment 2 replies
-
So this is likely a valid feature request and has been discussed in the past. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As far as I understand, scala-cli directives can define two scopes:
main
andtest
.I can think of at least of the following use case that might leverage an ability to define custom scopes.
Publish a subset of sources in a workspace
Currently
publish
command bundles all source with non-test scopes into a jar.But it might be useful to narrow a set o sources for publish.
For example, in the following structure for some micro-library:
In this structure it would be great to be able to execute
scala-cli publish
and have only sources frommain
bundled into a jar.Currently the workaround is
scala-cli publish main/ *.scala
Beta Was this translation helpful? Give feedback.
All reactions