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

Launch older scala-cli version without --cli-scala-version #872

Closed
lwronski opened this issue Apr 11, 2022 · 0 comments · Fixed by #884
Closed

Launch older scala-cli version without --cli-scala-version #872

lwronski opened this issue Apr 11, 2022 · 0 comments · Fixed by #884
Assignees

Comments

@lwronski
Copy link
Contributor

Is your feature request related to a problem? Please describe.
To enforce to use artefacts from 2.12, user have to specify another one parameter --cli-scala-version . If someone use Scala CLI 0.1.3 the following command throw error:

lwronski@VL-D-0317 scala-cli % scala-cli --cli-version 0.1.1  about                         
Fetching Scala CLI 0.1.1
Error downloading org.virtuslab.scala-cli:cli_2.13:0.1.1
  not found: /Users/lwronski/.ivy2/local/org.virtuslab.scala-cli/cli_2.13/0.1.1/ivys/ivy.xml
  not found: https://repo1.maven.org/maven2/org/virtuslab/scala-cli/cli_2.13/0.1.1/cli_2.13-0.1.1.pom
  not found: https://oss.sonatype.org/content/repositories/snapshots/org/virtuslab/scala-cli/cli_2.13/0.1.1/cli_2.13-0.1.1.pom

Describe the solution you'd like
Scala CLI should accept to download older version of scala-cli, so the following command should work:

scala-cli % scala-cli --cli-version 0.1.1  about                         
@lwronski lwronski self-assigned this Apr 12, 2022
@lwronski lwronski linked a pull request Apr 14, 2022 that will close this issue
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 a pull request may close this issue.

1 participant