Skip to content

Commit 2fc472a

Browse files
committed
Added an sbt build and renamed the package to json-permissive.
1 parent 38ef4de commit 2fc472a

35 files changed

Lines changed: 534 additions & 0 deletions

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
project
2+
target

README

100755100644
File mode changed.

project/Build.scala

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
import sbt._
2+
import Keys._
3+
4+
object Build extends Build {
5+
6+
override lazy val settings = super.settings ++ Seq(
7+
name := "json-permissive",
8+
version := "1.0.0",
9+
organization := "json.org",
10+
11+
scalaVersion := "2.10.3",
12+
publishTo := Some(Resolver.file("file", new File(Path.userHome.absolutePath+"/.m2/repository"))),
13+
14+
fork in run := true,
15+
sourcesInBase := false,
16+
17+
publishArtifact in packageDoc := false,
18+
publishArtifact in packageSrc := false,
19+
sources in doc := Seq.empty,
20+
21+
javacOptions += sys.env.getOrElse("JAVAC_OPTS", "-g:none"),
22+
scalacOptions += sys.env.getOrElse("SCALAC_OPTS", "-g:none")
23+
)
24+
25+
lazy val project = Project(id = "json-permissive",
26+
base = file("."),
27+
settings = Project.defaultSettings
28+
)
29+
.settings(net.virtualvoid.sbt.graph.Plugin.graphSettings: _*)
30+
}
31+

project/build.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sbt.version=0.13.7-RC1

project/plugins.sbt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
resolvers ++= Seq(
2+
"Sonatype snapshots" at "http://oss.sonatype.org/content/repositories/snapshots/",
3+
"Typesafe Releases" at "http://repo.typesafe.com/typesafe/releases/"
4+
)
5+
6+
addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.6.0")
7+
8+
addSbtPlugin("com.typesafe.sbt" % "sbt-scalariform" % "1.3.0")
9+
10+
addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "0.6.2")
11+
12+
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "0.8.0-M2")
13+
14+
addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.7.4")
15+
16+
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "1.0.0")
17+

0 commit comments

Comments
 (0)