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

Mill export fails if there is only test scope files #3045

Closed
yadavan88 opened this issue Jul 23, 2024 · 0 comments · Fixed by #3046
Closed

Mill export fails if there is only test scope files #3045

yadavan88 opened this issue Jul 23, 2024 · 0 comments · Fixed by #3046
Assignees
Labels
bug Something isn't working experimental Tickets tied to experimental features. export issues tied to the export sub-command

Comments

@yadavan88
Copy link
Contributor

Version(s)
1.4.0

Describe the bug
Exporting a scala-cli project to Mill with only test files generates an invalid mill project.

To Reproduce

//> using dep org.scalameta::munit::1.0.0
class MyTests extends munit.FunSuite {
  test("foo") {
    assert(2 + 2 == 4)
    println("hello")
  }
}

Export this. Gets invalid mill project

Expected behaviour
A valid and working mill project after export

@yadavan88 yadavan88 added the bug Something isn't working label Jul 23, 2024
@Gedochao Gedochao added experimental Tickets tied to experimental features. export issues tied to the export sub-command labels Jul 23, 2024
@Gedochao Gedochao self-assigned this Jul 23, 2024
@Gedochao Gedochao moved this to In progress in Scala CLI Board Jul 23, 2024
@github-project-automation github-project-automation bot moved this from In progress to Done in Scala CLI Board Jul 24, 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 experimental Tickets tied to experimental features. export issues tied to the export sub-command
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants