This repository has been archived by the owner on Dec 10, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
multiproject setup, coverage profiling integration, stubed api subpro…
…ject
- Loading branch information
Showing
9 changed files
with
49 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# cheesecake | ||
|
||
[![Build Status](https://travis-ci.org/maizy/cheesecake.svg?branch=master)](https://travis-ci.org/maizy/cheesecake) | ||
[![Coverage Status](https://coveralls.io/repos/github/maizy/cheesecake/badge.svg?branch=master)](https://coveralls.io/github/maizy/cheesecake?branch=master) | ||
|
||
_TBA_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name := "cheesecake-api" | ||
organization := "ru.maizy" | ||
version := "0.0.1" | ||
scalaVersion := "2.11.7" | ||
|
||
scalacOptions ++= Seq( | ||
"-target:jvm-1.8", | ||
"-encoding", "UTF-8", | ||
"-deprecation", | ||
"-unchecked", | ||
"-explaintypes", | ||
"-Xfatal-warnings", | ||
"-Xlint" | ||
) | ||
|
||
|
||
// Scalastyle setup | ||
lazy val testScalastyle = taskKey[Unit]("testScalastyle") | ||
lazy val testScalastyleInCompile = taskKey[Unit]("testScalastyleInCompile") | ||
testScalastyle := org.scalastyle.sbt.ScalastylePlugin.scalastyle.in(Test).toTask("").value | ||
testScalastyleInCompile := org.scalastyle.sbt.ScalastylePlugin.scalastyle.in(Compile).toTask("").value | ||
(test in Test) <<= (test in Test) dependsOn (testScalastyle, testScalastyleInCompile) | ||
scalastyleFailOnError := true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package ru.maizy.cheesecake.api | ||
|
||
/** | ||
* Copyright (c) Nikita Kovaliov, maizy.ru, 2016 | ||
* See LICENSE.txt for details. | ||
*/ | ||
|
||
case class Stub(val name: String) // FIXME: tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name := "cheesecake" | ||
organization := "ru.maizy" | ||
version := "0.0.1" | ||
scalaVersion := "2.11.7" | ||
|
||
lazy val api = project.in(file("api")) | ||
lazy val server = project.in(file("server")).dependsOn(api) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.