mirror of
https://github.com/sbt/sbt.git
synced 2026-09-03 08:34:34 +02:00
[2.x] Symlink CLAUDE.md to AGENTS.md (#9663)
This commit is contained in:
@@ -0,0 +1 @@
|
||||
**/*.md
|
||||
@@ -9,7 +9,7 @@ Compiling with sbt
|
||||
------------------
|
||||
|
||||
```bash
|
||||
sbt compile
|
||||
sbt --client --color=false --supershell=false --batch compile
|
||||
```
|
||||
|
||||
Pull request guideline
|
||||
@@ -24,7 +24,7 @@ Coding style
|
||||
------------
|
||||
|
||||
```bash
|
||||
sbt scalafmtAll
|
||||
sbt --client --color=false --supershell=false --batch scalafmtAll
|
||||
```
|
||||
|
||||
- Follow [Coding style and best practices](contributing-docs/03_coding_style.md)
|
||||
@@ -40,6 +40,12 @@ For changes that require coordination with file changes and tasks, use scripted
|
||||
- [contributing-docs/05_scripted_tests.md](contributing-docs/05_scripted_tests.md)
|
||||
- [contributing-docs/06_manual_tests.md](contributing-docs/06_manual_tests.md)
|
||||
|
||||
For example, here's how to run "actions/compile" scripted test:
|
||||
|
||||
```bash
|
||||
sbt --color=false --supershell=false --client --batch scripted actions/compile
|
||||
```
|
||||
|
||||
Tech stack
|
||||
----------
|
||||
|
||||
@@ -54,7 +60,7 @@ This means removing public method signature MUST be avoided.
|
||||
Use mima to check:
|
||||
|
||||
```bash
|
||||
sbt mimaReportBinaryIssues
|
||||
sbt --client --color=false --supershell=false --batch mimaReportBinaryIssues
|
||||
```
|
||||
|
||||
Copyright
|
||||
|
||||
@@ -408,7 +408,7 @@ lazy val hashBenchmark = (project in file("internal") / "hash-benchmark")
|
||||
Jmh / run / javaOptions ++= Seq("-Xmx1G", "-Dfile.encoding=UTF8"),
|
||||
libraryDependencies ++= Seq(blake3, zeroAllocationHashing),
|
||||
mimaSettings,
|
||||
publish / skip := true,
|
||||
Utils.noPublish,
|
||||
)
|
||||
|
||||
// Builds on cache to provide caching for filesystem-related operations
|
||||
@@ -489,7 +489,7 @@ lazy val exampleWorkProj = (project in file("internal") / "example-work")
|
||||
.settings(
|
||||
minimalSettings,
|
||||
name := "example work",
|
||||
publish / skip := true,
|
||||
Utils.noPublish,
|
||||
)
|
||||
|
||||
// Basic task engine
|
||||
@@ -901,6 +901,7 @@ lazy val serverTestProj = (project in file("server-test"))
|
||||
IO.write(file, content)
|
||||
Seq(file)
|
||||
},
|
||||
Utils.noPublish,
|
||||
)
|
||||
|
||||
val isWin = scala.util.Properties.isWin
|
||||
|
||||
+2
-1
@@ -4,7 +4,7 @@ import sbt.given
|
||||
import sbt.util.CacheImplicits.given
|
||||
import Keys.*
|
||||
import scalafix.sbt.ScalafixPlugin.autoImport.scalafix
|
||||
|
||||
import PublishBinPlugin.autoImport.publishLocalBin
|
||||
import sbt.internal.inc.Analysis
|
||||
|
||||
object Utils {
|
||||
@@ -20,6 +20,7 @@ object Utils {
|
||||
lazy val noPublish = Seq(
|
||||
publish := {},
|
||||
publish / skip := true,
|
||||
publishLocalBin / skip := true,
|
||||
)
|
||||
|
||||
lazy val javaOnlySettings: Seq[Setting[?]] = Seq(
|
||||
|
||||
Reference in New Issue
Block a user