Skip to content

Commit

Permalink
Merge pull request #27 from zainab-ali/publish
Browse files Browse the repository at this point in the history
published 0.1.0 release
  • Loading branch information
zainab-ali authored Aug 20, 2016
2 parents f50d924 + c2fdebf commit ae734be
Show file tree
Hide file tree
Showing 17 changed files with 22 additions and 31 deletions.
8 changes: 6 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
lazy val publishSettings = Seq(
name := "sbt-directive",
description := "sbt plugin enabling C like directives",
licenses += ("Apache-2.0", url("https://www.apache.org/licenses/LICENSE-2.0.html")),
organization := "sbt-directive",
version := "0.0.1-SNAPSHOT"
organization := "org.directive",
version := "0.1.0",
bintrayRepository := "sbt-plugins",
bintrayOrganization := None,
publishMavenStyle := false
)

lazy val commonSettings = Seq(
Expand Down
1 change: 1 addition & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
addSbtPlugin("me.lessis" % "bintray-sbt" % "0.3.0")
libraryDependencies <+= sbtVersion(v => "org.scala-sbt" % "scripted-plugin" % v)
2 changes: 1 addition & 1 deletion src/main/scala/directive/Plugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ object DirectivePlugin extends AutoPlugin {
(sourceDirectories in Compile) += (sourceManaged in Directive).value,
ivyConfigurations += Directive,
libraryDependencies ++= Seq(
"sbt-directive" %% "cli" % "0.0.1-SNAPSHOT" % Directive,
"org.directive" %% "cli" % "0.1.0" % Directive,
"org.scala-lang" % "scala-compiler" % "2.11.8" % Directive
)
)
Expand Down
4 changes: 1 addition & 3 deletions src/sbt-test/sbt-directive/basic/build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
lazy val publishSettings = Seq(
name := "basic",
scalaVersion := "2.11.8",
organization := "sbt-directive",
version := "0.0.1-SNAPSHOT"
scalaVersion := "2.11.8"
)

lazy val root = (project in file(".")).settings(
Expand Down
2 changes: 1 addition & 1 deletion src/sbt-test/sbt-directive/basic/project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ Option(System.getProperty("plugin.version")) match {
"""|The system property 'plugin.version' is not defined.
|Please specify this property using the SBT flag -D.""".stripMargin)
case Some(pluginVersion) =>
addSbtPlugin("sbt-directive" % "sbt-directive" % pluginVersion)
addSbtPlugin("org.directive" % "sbt-directive" % pluginVersion)
}
scalacOptions ++= Seq("-feature", "-deprecation")
4 changes: 1 addition & 3 deletions src/sbt-test/sbt-directive/extensions/build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
lazy val publishSettings = Seq(
name := "extensions",
scalaVersion := "2.11.8",
organization := "sbt-directive",
version := "0.0.1-SNAPSHOT"
scalaVersion := "2.11.8"
)

lazy val root = (project in file(".")).settings(
Expand Down
2 changes: 1 addition & 1 deletion src/sbt-test/sbt-directive/extensions/project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ Option(System.getProperty("plugin.version")) match {
"""|The system property 'plugin.version' is not defined.
|Please specify this property using the SBT flag -D.""".stripMargin)
case Some(pluginVersion) =>
addSbtPlugin("sbt-directive" % "sbt-directive" % pluginVersion)
addSbtPlugin("org.directive" % "sbt-directive" % pluginVersion)
}
scalacOptions ++= Seq("-feature", "-deprecation")
4 changes: 1 addition & 3 deletions src/sbt-test/sbt-directive/identity/build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
lazy val publishSettings = Seq(
name := "identity",
scalaVersion := "2.11.8",
organization := "sbt-directive",
version := "0.0.1-SNAPSHOT"
scalaVersion := "2.11.8"
)

lazy val root = (project in file(".")).settings(
Expand Down
2 changes: 1 addition & 1 deletion src/sbt-test/sbt-directive/identity/project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ Option(System.getProperty("plugin.version")) match {
"""|The system property 'plugin.version' is not defined.
|Please specify this property using the SBT flag -D.""".stripMargin)
case Some(pluginVersion) =>
addSbtPlugin("sbt-directive" % "sbt-directive" % pluginVersion)
addSbtPlugin("org.directive" % "sbt-directive" % pluginVersion)
}
scalacOptions ++= Seq("-feature", "-deprecation")
4 changes: 1 addition & 3 deletions src/sbt-test/sbt-directive/invalid-preprocessor/build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
lazy val publishSettings = Seq(
name := "invalid-source",
scalaVersion := "2.11.8",
organization := "sbt-directive",
version := "0.0.1-SNAPSHOT"
scalaVersion := "2.11.8"
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ Option(System.getProperty("plugin.version")) match {
"""|The system property 'plugin.version' is not defined.
|Please specify this property using the SBT flag -D.""".stripMargin)
case Some(pluginVersion) =>
addSbtPlugin("sbt-directive" % "sbt-directive" % pluginVersion)
addSbtPlugin("org.directive" % "sbt-directive" % pluginVersion)
}
scalacOptions ++= Seq("-feature", "-deprecation")
4 changes: 1 addition & 3 deletions src/sbt-test/sbt-directive/invalid-source/build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
lazy val publishSettings = Seq(
name := "invalid-source",
scalaVersion := "2.11.8",
organization := "sbt-directive",
version := "0.0.1-SNAPSHOT"
scalaVersion := "2.11.8"
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ Option(System.getProperty("plugin.version")) match {
"""|The system property 'plugin.version' is not defined.
|Please specify this property using the SBT flag -D.""".stripMargin)
case Some(pluginVersion) =>
addSbtPlugin("sbt-directive" % "sbt-directive" % pluginVersion)
addSbtPlugin("org.directive" % "sbt-directive" % pluginVersion)
}
scalacOptions ++= Seq("-feature", "-deprecation")
4 changes: 1 addition & 3 deletions src/sbt-test/sbt-directive/java-sources/build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
lazy val publishSettings = Seq(
name := "java-sources",
scalaVersion := "2.11.8",
organization := "sbt-directive",
version := "0.0.1-SNAPSHOT"
scalaVersion := "2.11.8"
)

lazy val root = (project in file(".")).settings(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ Option(System.getProperty("plugin.version")) match {
"""|The system property 'plugin.version' is not defined.
|Please specify this property using the SBT flag -D.""".stripMargin)
case Some(pluginVersion) =>
addSbtPlugin("sbt-directive" % "sbt-directive" % pluginVersion)
addSbtPlugin("org.directive" % "sbt-directive" % pluginVersion)
}
scalacOptions ++= Seq("-feature", "-deprecation")
4 changes: 1 addition & 3 deletions src/sbt-test/sbt-directive/multi-module/build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
lazy val publishSettings = Seq(
name := "multi-module",
scalaVersion := "2.11.8",
organization := "sbt-directive",
version := "0.0.1-SNAPSHOT"
scalaVersion := "2.11.8"
)

lazy val kernel = (project in file("kernel")).settings(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ Option(System.getProperty("plugin.version")) match {
"""|The system property 'plugin.version' is not defined.
|Please specify this property using the SBT flag -D.""".stripMargin)
case Some(pluginVersion) =>
addSbtPlugin("sbt-directive" % "sbt-directive" % pluginVersion)
addSbtPlugin("org.directive" % "sbt-directive" % pluginVersion)
}
scalacOptions ++= Seq("-feature", "-deprecation")

0 comments on commit ae734be

Please sign in to comment.