Support Scala-cli projects
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 47
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Scala-cli is about to become the default scala command via SIP 46, so it's going to see a lot more usage. More people will be using "build-tool-less" small single module projects.
At least support the project.scala file with the using directives for dependencies only.
Right now we get:
Here's an example project.scala
//> using scala 3.4.2
//> using platform jvm native
//> using nativeVersion 0.5.2
//> using resourceDir ./src/main/resources
//> using test.resourceDir ./test/main/resources
//> using toolkit default
//> using dep org.scala-lang.modules::scala-parallel-collections::1.0.4
//> using dep org.scalafx::scalafx:21.0.0-R32
//> using dep org.creativescala::doodle:0.21.0
//> using dep net.ruippeixotog::scala-scraper:3.1.1
//> using dep io.spray::spray-json:1.3.6
//> using dep org.scala-lang.modules::scala-xml:2.2.0
//> using dep org.xerial:sqlite-jdbc:3.45.2.0
//> using dep com.typesafe.slick::slick:3.5.0
//> using dep org.scala-graph:graph-core_2.13:2.0.1
//> using dep at.logic.gapt:gapt_2.13:2.16.0
//> using dep com.github.cascala:galileo_2.13:0.1.3
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the example project.scala file and the linked Scala-cli documentation for using directives and dependencies. Trace how the tool currently discovers Scala project dependencies, then verify the dependency-only directives in the example are recognized. Done means Scala-cli projects using project.scala can be processed without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100