Skip to content
This repository was archived by the owner on Aug 21, 2020. It is now read-only.

Commit 582eb68

Browse files
committed
Project setup
1 parent 0067c8d commit 582eb68

File tree

5 files changed

+74
-0
lines changed

5 files changed

+74
-0
lines changed

.gitignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
.idea
2+
.idea_modules
3+
target
4+
project/boot
5+
*.swp
6+
*.swo
7+
project.vim
8+
tags
9+
.lib
10+
*~
11+
*#
12+
z_local.sbt
13+
.DS_Store
14+
.ensime
15+
/.ensime_cache
16+
.tags
17+
.metaserver

LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2018 FS2 Contributors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.
22+

build.sbt

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
lazy val commonSettings = Seq(
2+
organization := "co.fs2",
3+
scalaVersion := "2.12.6",
4+
scalacOptions ++= Seq(
5+
"-feature",
6+
"-deprecation",
7+
"-language:implicitConversions",
8+
"-language:higherKinds",
9+
"-language:existentials",
10+
"-language:postfixOps",
11+
"-Ypartial-unification",
12+
"-Xlint",
13+
"-Xfatal-warnings",
14+
"-Yno-adapted-args",
15+
"-Ywarn-value-discard",
16+
"-Ywarn-unused-import"
17+
),
18+
scalacOptions in (Compile, console) ~= {
19+
_.filterNot("-Ywarn-unused-import" == _)
20+
.filterNot("-Xlint" == _)
21+
.filterNot("-Xfatal-warnings" == _)
22+
},
23+
scalacOptions in (Compile, console) += "-Ydelambdafy:inline",
24+
scalacOptions in (Test, console) := (scalacOptions in (Compile, console)).value
25+
)
26+
27+
lazy val root = project.in(file(".")).settings(commonSettings).aggregate(zeroNine, zeroTen, oneZero)
28+
29+
lazy val zeroNine = project.in(file("0.9")).settings(commonSettings)
30+
lazy val zeroTen = project.in(file("0.10")).settings(commonSettings)
31+
lazy val oneZero = project.in(file("1.0")).settings(commonSettings)
32+

project/build.properties

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

project/plugins.sbt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.2")
2+
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.3.3")

0 commit comments

Comments
 (0)