Files
sbt/AGENTS.md
T

1.9 KiB

AGENTS instructions

The main developer documentation is Contributor's guide.

Compiling with sbt

sbt --client --color=false --supershell=false --batch compile

Pull request guideline

  • Follow the PR guidance in CONTRIBUTING.md.
  • Before working on a pull request, please confirm that you can reproduce the reported problem using GitHub Actions or your computer.
  • After making the code change, please confirm that your change compiles, and has fixed the problem.
  • In the commit message, include "Generated-by" tag for Gen-AI tools.

Coding style

sbt --client --color=false --supershell=false --batch scalafmtAll

Tests

Always add tests. For changes with small scopes prefer HedgeHog for Scala. For changes that require coordination with file changes and tasks, use scripted test.

For example, here's how to run "actions/compile" scripted test:

sbt --color=false --supershell=false --client --batch scripted actions/compile

Tech stack

Binary compatibility

sbt MUST maintain backward binary compatibility across minor releases. This means removing public method signature MUST be avoided.

Use mima to check:

sbt --client --color=false --supershell=false --batch mimaReportBinaryIssues
  • NEVER reproduce copyrighted material.