From ea46f432190fa481fe0a9344259463a73de1dc62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93lafur=20P=C3=A1ll=20Geirsson?= Date: Sat, 23 Jun 2018 17:02:47 +0200 Subject: [PATCH] Remove leftovers from sbt plugin - release step failed by trying to publish the sbt plugin - CONTRIBUTING.md still references the sbt plugin project --- CONTRIBUTING.md | 9 --------- project/ScalafixBuild.scala | 18 ------------------ 2 files changed, 27 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0476fef22..579477a82 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,7 +6,6 @@ Contributing - `scalafix-core/` data structures and algorithms for scalafix rules - `scalafix-reflect/` JVM-only utilities to compile and classload custom rules - `scalafix-cli/` command-line interface -- `scalafix-sbt/` SBT plugin - `scalafix-tests/` project for running unit and integration tests. - `readme` documentation page @@ -27,14 +26,6 @@ The commands below assume you have a running sbt shell. > unit/testOnly scalafix.tests.rule.* # Only run tests for rules, using scalafix-testkit. > unit/testOnly scalafix.tests.core.* # Only run tests for core APIs. > unit/testOnly scalafix.tests.cli.* # Only run tests for the command line interface. - -# SBT plugin -# (recommended) start the sbt shell with a SNAPSHOT scalafix version: -# $ sbt -Dscalafix.version=0.5-SNAPSHOT -> scalafix-sbt/it:test # publishes modules locally and runs scripted (slow). - # Only needed once per changed in core/cli modules. -> scalafix-sbt/scripted # only run scripted tests (still slow, but skips - # publishLocal for core/cli modules) ``` Unit tests for rules are written using scalafix-testkit, read more about diff --git a/project/ScalafixBuild.scala b/project/ScalafixBuild.scala index 063aacc85..dfe414780 100644 --- a/project/ScalafixBuild.scala +++ b/project/ScalafixBuild.scala @@ -179,19 +179,6 @@ object ScalafixBuild extends AutoPlugin with GhpagesKeys { "clean" :: "scalafix/publishSigned" :: "scalafix211/publishSigned" :: - "scalafix-sbt013/publishSigned" :: - "scalafix-sbt/publishSigned" :: - s - }, - commands += Command.command("ci-sbt") { s => - // scripted tests don't work in sbt 1.0 yet because we run Sbt1 - "scalafix-sbt/publishLocal" :: - "scalafix-sbt/test" :: - s - }, - commands += Command.command("ci-sbt013") { s => - "scalafix-sbt013/scripted" :: - "scalafix-sbt013/test" :: s }, commands += Command.command("ci-fast-212") { s => @@ -202,11 +189,6 @@ object ScalafixBuild extends AutoPlugin with GhpagesKeys { "scalafix211/test" :: s }, - commands += Command.command("ci-sbt013-windows") { s => - "scalafix-sbt013/scripted" :: - testSkipWindows("scalafix-sbt013") :: - s - }, commands += Command.command("ci-fast-212-windows") { s => testSkipWindows("scalafix") :: s