Skip to content

Commit 08647e5

Browse files
committed
Add a wrapper.object key alias for the script object wrapper using directive
1 parent f771595 commit 08647e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/directives/src/main/scala/scala/build/preprocessing/directives/ObjectWrapper.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import scala.cli.commands.SpecificationLevel
1111
@DirectiveLevel(SpecificationLevel.EXPERIMENTAL)
1212
final case class ObjectWrapper(
1313
@DirectiveName("object.wrapper")
14+
@DirectiveName("wrapper.object")
1415
objectWrapper: Boolean = false
1516
) extends HasBuildOptions {
1617
def buildOptions: Either[BuildException, BuildOptions] =

0 commit comments

Comments
 (0)