Skip to content

Commit

Permalink
Releases 0.7.13. Cleans some unused imports (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanpedromoreno authored Dec 14, 2017
1 parent 12ee856 commit e740276
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 36 deletions.
19 changes: 7 additions & 12 deletions project/KazariBuild.scala
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,15 @@ object KazariBuild {
}
}

lazy val kazariDefaultPath = SettingKey[String](
"kazariDefaultPath",
"Default path where the scripts generated by Scala.JS live")
lazy val kazariPluginFilename = SettingKey[String](
"kazariPluginFilename",
"Filename of the resulting generated javascript plugin")
lazy val fastOptSuffix = SettingKey[String](
"fastOptSuffix",
lazy val kazariDefaultPath =
settingKey[String]("Default path where the scripts generated by Scala.JS live")
lazy val kazariPluginFilename =
settingKey[String]("Filename of the resulting generated javascript plugin")
lazy val fastOptSuffix = settingKey[String](
"Suffix used by Scala.JS to name the main script generated as a result of a fastOptJS task")
lazy val fullOptSuffix = SettingKey[String](
"fullOptSuffix",
lazy val fullOptSuffix = settingKey[String](
"Suffix used by Scala.JS to name the main script generated as a result of a fullOptJS task")
lazy val jsDepSuffix = SettingKey[String](
"jsDepSuffix",
lazy val jsDepSuffix = settingKey[String](
"Suffix used by Scala.JS to name the dependencies script generated as a result of a fastOptJS/fullOptJS task")

lazy val jsFastOptAssembleTask = TaskKey[Unit](
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,7 @@ package microsites.util

import java.io.File

import com.sksamuel.scrimage._
import sbtorgpolicies.model.YamlFormats._
import microsites._
import microsites.layouts._
import net.jcazevedo.moultingyaml.{YamlObject, _}
import sbt._
import sbtorgpolicies.io._
import sbtorgpolicies.io.syntax._

import scala.io.Source

trait MicrositeHelperSpecific {
/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,8 @@ package microsites.util

import java.io.File

import com.sksamuel.scrimage._
import sbtorgpolicies.model.YamlFormats._
import microsites._
import microsites.layouts._
import net.jcazevedo.moultingyaml.{YamlObject, _}
import sbt.io._
import sbt.io.syntax._
import sbtorgpolicies.io._
import sbtorgpolicies.io.syntax._

import scala.io.Source

trait MicrositeHelperSpecific {
/*
Expand Down
2 changes: 0 additions & 2 deletions src/main/scala/microsites/microsites.scala
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ package microsites

import sbt._

import scala.language.{postfixOps, reflectiveCalls}

case class KazariDependency(
groupId: String,
artifactId: String,
Expand Down
5 changes: 2 additions & 3 deletions src/main/scala/microsites/util/MicrositeHelper.scala
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,8 @@ class MicrositeHelper(config: MicrositeSettings) extends MicrositeHelperSpecific

def createResources(resourceManagedDir: File, tutSourceDirectory: File): List[File] = {

val targetDir: String = resourceManagedDir.getAbsolutePath.ensureFinalSlash
val tutSourceDir: String = tutSourceDirectory.getAbsolutePath.ensureFinalSlash
val pluginURL: URL = getClass.getProtectionDomain.getCodeSource.getLocation
val targetDir: String = resourceManagedDir.getAbsolutePath.ensureFinalSlash
val pluginURL: URL = getClass.getProtectionDomain.getCodeSource.getLocation

copyJARResourcesTo(pluginURL, s"$targetDir$jekyllDir/", "_sass")
copyJARResourcesTo(pluginURL, s"$targetDir$jekyllDir/", "css")
Expand Down
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version in ThisBuild := "0.7.13-SNAPSHOT"
version in ThisBuild := "0.7.13"

0 comments on commit e740276

Please sign in to comment.