Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Scalafix instructions #2008

Merged
merged 1 commit into from
Nov 2, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions scalafix/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,12 @@

## Try this!

Install the scalafix sbt plugin (globally or in a specific project):
[Install the scalafix sbt plugin](https://scalacenter.github.io/scalafix/docs/users/installation)

```scala
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.5.0-RC2")
```

to run all rules that apply to version `1.0.0-MF` run
To run all rules that apply to version `1.0.0-RC1` run

```sh
sbt scalafix github:typelevel/cats/v1.0.0?sha=c131fe4
sbt scalafix github:typelevel/cats/v1.0.0?sha=v1.0.0-RC1
```

to run all rules that apply to the current `1.0.0-SNAPSHOT` run
Expand Down Expand Up @@ -39,6 +35,7 @@ sbt scalafix github:typelevel/cats/v1.0.0
- [x] Apply syntax on tuple (e.g. (x, y, z).map3(...)) was moved from cats.syntax.tuple._ to cats.syntax.apply._ and renamed to mapN, contramapN and imapN respectively.

- [x] Split is removed, and the method split is moved to Arrow. Note that only under CommutativeArrow does it guarantee the non-interference between the effects. see #1567

# WIP

- [ ] cats no longer publishes the all-inclusive bundle package "org.typelevel" % "cats", use cats-core, cats-free, or cats-law accordingly instead. If you need cats.free, use "org.typelevel" % "cats-free", if you need cats-laws use "org.typelevel" % "cats-laws", if neither, use "org.typelevel" % "cats-core".
Expand Down