Commit Graph

11931 Commits

Author SHA1 Message Date
Adrien Piquerez 7ca6ad5fec Fix resolution of bridge using Coursier 2024-03-06 16:40:41 +01:00
Adrien Piquerez 323d1da16e fix scripted 2024-03-06 14:43:23 +01:00
Adrien Piquerez 1a900ee5dc Publish local Zinc 2024-03-06 14:07:21 +01:00
Adrien Piquerez c6176342fb Remove dep to zinc-compile 2024-03-06 13:59:33 +01:00
Adrien Piquerez 12e9267e1e Remove more unused 2024-03-05 15:25:25 +01:00
Adrien Piquerez 369e647008 Fix scala 2 compat with -Xsource:3 and scala-collection-compat 2024-03-05 13:32:15 +01:00
Adrien Piquerez 0458e8063d Adapt -Wunused 2024-03-05 11:23:00 +01:00
Adrien Piquerez 95a82adffc Activate -Xfatal-warnings 2024-03-05 10:41:07 +01:00
Adrien Piquerez c15a4031a9 Fix or mute warnings 2024-03-05 10:39:00 +01:00
Adrien Piquerez 5d0a0b7356 Uncomment EmbeddedXmlSpec 2024-03-05 10:09:22 +01:00
Adrien Piquerez eadf1117f6 Store bootServerSocket in state 2024-02-15 16:18:54 +01:00
adpi2 749b9caa11
Merge pull request #7494 from adpi2/sbt2-todo-refactorings
[2.x] Fix `SbtRefactorings` and run `SessionSettingsSpec`
2024-02-14 19:00:16 +01:00
adpi2 fcaf7afe10
Merge pull request #7493 from adpi2/sbt2-eval3
[2.x] Update eval for Scala 3.3.1
2024-02-14 09:41:44 +01:00
Adrien Piquerez 5425e066a0 Fix SbtRefactorings 2024-02-13 14:01:26 +01:00
Adrien Piquerez 4baf698a8c Fix TupleMapExtensionTests
The compiler cannot infer F[_] on a concrete Tuple.Map[T, F[_]] because it reduces it to a (F[A], F[B], ...)
2024-02-13 11:17:52 +01:00
Adrien Piquerez ac191ddc5c Update eval for Scala 3.3.1 2024-02-13 10:37:07 +01:00
adpi2 a607e54188
Merge pull request #7490 from adpi2/sbt2-remove-manifest
[sbt 2] Remove usage of Manifest in Structure.scala
2024-02-12 16:34:41 +01:00
Adrien Piquerez 144b86e32e fix tag of InputTask 2024-02-12 15:28:57 +01:00
Adrien Piquerez 739dedb017 Remove usage of Manifest in Structure.scala 2024-02-12 15:22:09 +01:00
adpi2 64be877549
Merge pull request #7491 from adpi2/misc-cleanup
[2.x] Miscellaneous cleanup
2024-02-08 17:42:35 +01:00
adpi2 79def174ef
Merge pull request #7492 from adpi2/sbt2-todo-errorspec
Fix test in ErrorSpec
2024-02-08 16:08:22 +01:00
Adrien Piquerez 013194c217 Rename to SbtParserErrorSpec 2024-02-08 13:29:15 +01:00
Adrien Piquerez 245d13575a Refactor xml test in ErrorSpec 2024-02-08 13:28:19 +01:00
Adrien Piquerez 135ab16b5c Remove outdated test in ErrorSpec 2024-02-08 13:21:04 +01:00
Adrien Piquerez 5990775a43 Fix test in ErrorSpec 2024-02-08 13:12:35 +01:00
eugene yokota 652f7dc575
Merge pull request #7486 from eed3si9n/wip/postfix
[2.x] Migrate postfix ops
2024-02-07 12:34:11 -05:00
Eugene Yokota 63ba90d198 Migrate postfix ops
**Problem**
There are a few places in the code that's using postfix ops.

**Solution**
This rewrites the expressions to use normal dot notaiton.
2024-02-07 11:40:45 -05:00
eugene yokota ecca26175e
[sbt 2.x] remote cache (#7464)
For the details about this PR, please see the blog post https://eed3si9n.com/sbt-remote-cache/.

* Add cache basics
* Refactor Attributed to use StringAttributeMap, which is Map[StringAttributeKey, String]
* Implement disk cache
* Rename Package to Pkg
* Virtualize packageBin
* Use HashedVirtualFileRef for packageBin
* Virtualize compile task
2024-02-07 10:34:06 -05:00
Adrien Piquerez ea4b38d1b1 Shorten fake task macro impl 2024-02-07 12:13:35 +01:00
Adrien Piquerez cabf08e5f0 Use report.errorAndAbort in macro 2024-02-07 11:55:27 +01:00
Adrien Piquerez e18ddb1666 Fix resolution of * on String 2024-02-07 11:47:22 +01:00
Adrien Piquerez 4b59b56785 More cleaning in TypeFunctions 2024-02-07 11:16:38 +01:00
Adrien Piquerez 7ac3cd321d Remove the unused ~> 2024-02-07 11:12:43 +01:00
Adrien Piquerez 10fc5da8b6 remove Composite and replace it with type lambda 2024-02-07 10:58:05 +01:00
Adrien Piquerez cf3c9bbf0d Remove ~>| and use polymorphic function instead 2024-02-07 10:49:23 +01:00
eugene yokota 0d291f0489
Merge pull request #7488 from Duhemm/scripted-classpath 2024-02-02 09:05:01 -05:00
Martin Duhem 6679067bcb
Resolve `scripted-sbt-redux` to run scripted
Previously, in sbt 2, the Scripted plugin was not resolving any module
that would provide it with the `ScriptedTests` object, and could
therefore not run scripted tests.

With this patch, `scripted-sbt-redux` will be resolved and added to the
classloader that's used to load `sbt.scriptedtest.ScriptedTests`.
2024-02-02 14:28:56 +01:00
adpi2 dd0d43bab4
Merge pull request #7456 from adpi2/refactor-alist
[sbt 2.x] Remove `AList`, replace it with `TupleMapExtension`
2023-12-13 16:57:51 +01:00
Adrien Piquerez a15fb91c5c Remove AList 2023-12-13 14:01:57 +01:00
adpi2 8950b92d33
Merge pull request #7444 from adpi2/sbt-2-refactor-execute-2
[2.x] Reduce abstraction in `Execute` and around (bis)
2023-11-29 09:15:35 +01:00
Adrien Piquerez 7ea0506736 Introduce TaskId to reduce abstraction around Execute 2023-11-28 14:26:52 +01:00
eugene yokota ff48bbfe8a
Merge pull request #7440 from eed3si9n/wip/basic-upkeep 2023-11-27 09:00:58 -05:00
Eugene Yokota e0e2ffce9c Mark doc-dependent tests pending 2023-11-27 02:25:23 -05:00
Eugene Yokota 035cc8da60 Fix ivyPaths 2023-11-27 01:54:03 -05:00
Eugene Yokota 290d8f1a59 Mark test-artifact pending 2023-11-27 01:54:03 -05:00
Eugene Yokota a8b46219ea Mark actions/doc pending 2023-11-27 01:54:03 -05:00
Eugene Yokota 81660b6734 Fix FileInfo 2023-11-27 01:54:03 -05:00
Eugene Yokota fef08a03a5 Bump version number 2023-11-27 01:54:03 -05:00
Eugene Yokota 8098702a1a Update to Zinc 2.0.0-alpha8 2023-11-26 21:35:52 -05:00
Eugene Yokota f9686b2f0c Disable fork-loader test 2023-11-26 21:11:03 -05:00