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

Bump SBT to 0.13.13, add cross build for Scala 2.12.1 #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
target
10 changes: 6 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ name := "sbt-example"
organization := "org.scalamacros"
version := "2.0.0"

scalaVersion in ThisBuild := "2.11.8"
run <<= run in Compile in core
crossScalaVersions in ThisBuild := Seq("2.11.8", "2.12.1")
scalaVersion in ThisBuild := crossScalaVersions.value.head

lazy val macros = (project in file("macros")).settings(
run := (run in Compile in core).evaluated

lazy val macros = project settings (
libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value
)

lazy val core = (project in file("core")) dependsOn macros
lazy val core = project dependsOn macros
2 changes: 1 addition & 1 deletion core/src/main/scala/Test.scala → core/Test.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
object Test extends App {
Macros.hello
}
}
File renamed without changes.
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=0.13.11
sbt.version=0.13.13