Skip to content
This repository has been archived by the owner on Nov 16, 2017. It is now read-only.

Commit

Permalink
Migrate artifact id to sbt-scalariform
Browse files Browse the repository at this point in the history
  • Loading branch information
taig committed Jul 12, 2016
1 parent a62570f commit 80f167a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
@@ -1,4 +1,4 @@
# Sbt Scalariform
# sbt Scalariform houserules plugin

> Scalariform auto plugin with custom formatting settings
Expand Down
6 changes: 3 additions & 3 deletions build.sbt
@@ -1,10 +1,10 @@
addSbtPlugin( "org.scalariform" % "sbt-scalariform" % "1.6.0" )

name := "SbtScalariform"
githubProject := "sbt-scalariform"

normalizedName := "scalariform"
name := "sbt-scalariform"

organization := "io.taig.sbt"
organization := "io.taig"

sbtPlugin := true

Expand Down
4 changes: 1 addition & 3 deletions project/plugins.sbt
@@ -1,3 +1 @@
addSbtPlugin( "com.jsuereth" % "sbt-pgp" % "1.0.0" )

addSbtPlugin( "org.xerial.sbt" % "sbt-sonatype" % "0.5.1" )
addSbtPlugin( "io.taig" % "sbt-sonatype" % "1.1.0" )
3 changes: 2 additions & 1 deletion src/main/scala/io/taig/FormatPlugin.scala
@@ -1,13 +1,14 @@
package io.taig

import com.typesafe.sbt.SbtScalariform
import com.typesafe.sbt.SbtScalariform.{ScalariformKeys, scalariformSettings}
import sbt._
import sbt.plugins.JvmPlugin

import scalariform.formatter.preferences._

object FormatPlugin extends AutoPlugin {
override def requires = JvmPlugin
override def requires = JvmPlugin && SbtScalariform

override def trigger = allRequirements

Expand Down

0 comments on commit 80f167a

Please sign in to comment.