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

what build tooling do we want for scalaz8? #1464

Closed
fommil opened this issue Sep 21, 2017 · 10 comments
Closed

what build tooling do we want for scalaz8? #1464

fommil opened this issue Sep 21, 2017 · 10 comments
Projects
Milestone

Comments

@fommil
Copy link
Contributor

fommil commented Sep 21, 2017

There are a lot of really great build tools available nowadays, such as scalafmt, scalafix and a new linter.

I personally prefer to have as much automated as possible, included format on compile, what's the general feeling?

@jdegoes
Copy link
Member

jdegoes commented Sep 25, 2017

Automate as much as possible. 👍

@fommil fommil added this to the 8.0.0 milestone Oct 9, 2017
@jvz
Copy link

jvz commented Nov 1, 2017

If possible, scalafix templates to migrate from scalaz7 to scalaz8 would be super useful.

@ChristopherDavenport
Copy link
Contributor

You may already be aware but as a tale from the trench, when http4s implemented scalafmt on compile we got hit with an initial round of memory errors, and secondly it was much slower to compile.

It was eventually frustrating enough to be moved to a different command so that changes could be made normally and then formatted and automated testing happened in our new sbt ci command.

If you were already aware of these concerns, my apologies for repeating them.

@fommil
Copy link
Contributor Author

fommil commented Nov 1, 2017

scalafmt definitely has those problems... sadly. I still think it's worth it. The way it is launched for every project and every configuration is exceptionally inefficient.

@jdegoes
Copy link
Member

jdegoes commented Nov 2, 2017

Migration would be very nice. Disappointed to hear about the effect on compilation.

@fommil
Copy link
Contributor Author

fommil commented Nov 2, 2017

An option would be to use the scalafmt CLI in CI and not make it part of the sbt build, which doesn't interfere (but can be a bit irritating sometimes)

@tonymorris
Copy link
Member

I doubt my opinion is popular, but it is:

  1. Scalaz used to be built with a .hs script, many years ago.
  2. Nothing better has ever been demonstrated to me.

@puffnfresh
Copy link
Member

I was going to say the same thing as @tonymorris. The build should be Shake, or similar.

@fommil
Copy link
Contributor Author

fommil commented Nov 2, 2017

I have made my peace with sbt. Although it has many flaws.

@jvz
Copy link

jvz commented Nov 2, 2017

Scalaz used to be built with a .hs script, many years ago.

Wait, you can build Scala programs with Haskell scripts? Now this I'd like to see.

@jdegoes jdegoes added this to To Spec in Scalaz 8 Nov 28, 2017
@fommil fommil closed this as completed Jun 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Scalaz 8
  
To Spec
Development

No branches or pull requests

6 participants