Skip to content

Commit

Permalink
Replace ghc-mod by stack repl
Browse files Browse the repository at this point in the history
  • Loading branch information
rikvdkleij committed Sep 1, 2016
1 parent d7febca commit b9c7792
Show file tree
Hide file tree
Showing 519 changed files with 8,997 additions and 24,095 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
/idea-flex.skeleton
idea-flex.skeleton
target/
.idea/
idea/
*~
JFlex*.jar
out/
project/project/
jflex-1.7.0-SNAPSHOT.jar
Binary file removed JFlex.jar
Binary file not shown.
12 changes: 7 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
lazy val commonSettings = Seq(
version := "0.91",
version := "1.0.0-beta",
scalaVersion := "2.11.8"
)

val scalaTest = "org.scalatest" % "scalatest_2.11" % "2.2.6" % "test"
val guava = "com.google.guava" % "guava" % "19.0"
val scalaTest = "org.scalatest" % "scalatest_2.11" % "3.0.0" % "test"
val sprayJson = "io.spray" %% "spray-json" % "1.3.2"

lazy val intellijHaskell = (project in file(".")).
enablePlugins(SbtIdeaPlugin).
settings(commonSettings: _*).
settings(
name := "IntelliJ Haskell",
javacOptions in Global ++= Seq("-source", "1.6", "-target", "1.6"),
scalacOptions in Global += "-target:jvm-1.6",
javacOptions in Global ++= Seq("-source", "1.8", "-target", "1.8"),
scalacOptions in Global += "-target:jvm-1.8",
libraryDependencies += guava,
libraryDependencies += scalaTest,
libraryDependencies += sprayJson,
unmanagedSourceDirectories in Compile += baseDirectory.value / "gen",
unmanagedJars in Compile += baseDirectory.value / "idea"
)

ideaBuild in ThisBuild := "145.597.3"
ideaBuild in ThisBuild := "162.1447.26"
Loading

7 comments on commit b9c7792

@zjhmale
Copy link
Contributor

@zjhmale zjhmale commented on b9c7792 Sep 1, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool! breaking change! so we totally get rid of ghc-mod for now?

@rikvdkleij
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it's complete rewrite which depends on stack repl and intero

@zjhmale
Copy link
Contributor

@zjhmale zjhmale commented on b9c7792 Sep 2, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rikvdkleij so any links about this new protocol? i mean how to communicate with stack repl.

@rikvdkleij
Copy link
Owner Author

@rikvdkleij rikvdkleij commented on b9c7792 Sep 2, 2016 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zjhmale
Copy link
Contributor

@zjhmale zjhmale commented on b9c7792 Sep 2, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool, i'll checkout then, thx!

@zjhmale
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @rikvdkleij, i finally figure out that the Stack Repl you said before is to use intero 😅 , i also poked around with intero recently, i will join you to make this plugin uniform yet powerful as soon as possible!

@rikvdkleij
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool!! Thanks 👍

Please sign in to comment.