Skip to content

Commit

Permalink
Add Seed configuration
Browse files Browse the repository at this point in the history
- Add Drone CI configuration
- Add Bloop to .gitignore
  • Loading branch information
tindzk committed Jan 13, 2019
1 parent 079f26d commit ac19a1f
Show file tree
Hide file tree
Showing 7 changed files with 150 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
kind: pipeline
name: default
steps:
- name: build
image: tindzk/seed:latest
pull: always
commands:
- blp-server &
- seed --build=build211.toml bloop
- bloop compile toml-native-test
- bloop test toml-js toml-jvm
- rm -r .bloop build
- seed --build=build212.toml bloop
- bloop test toml-js toml-jvm
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ project/plugins/project/
.scala_dependencies
.worksheet
.idea

.bloop
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# toml-scala
[![Build Status](https://travis-ci.org/sparsetech/toml-scala.svg)](https://travis-ci.org/sparsetech/toml-scala)
[![Build Status](http://ci.sparse.tech/api/badges/sparsetech/toml-scala/status.svg)](http://ci.sparse.tech/sparsetech/toml-scala)
[![Maven Central](https://img.shields.io/maven-central/v/tech.sparse/toml-scala_2.12.svg)](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22tech.sparse%22%20AND%20a%3A%22toml-scala_2.12%22)

toml-scala is a feature-complete implementation of [TOML](https://github.com/toml-lang/toml) for the Scala platform. It can parse TOML content into an AST or map it onto `case class` hierarchies. Furthermore, it can generate TOML back from an AST.
Expand Down
1 change: 0 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ val Scala2_11 = "2.11.12"
val Scala2_12 = "2.12.8"
val FastParse = "1.0.0"
val Shapeless = "2.3.3"
val Paradise = "2.1.1"
val ScalaCheck = "1.14.0"
val ScalaTest = "3.0.5"
val ScalaTestNative = "3.2.0-SNAP10"
Expand Down
1 change: 1 addition & 0 deletions build.toml
66 changes: 66 additions & 0 deletions build211.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
[project]
scalaVersion = "2.11.12"
scalaJsVersion = "0.6.26"
scalaNativeVersion = "0.3.8"
scalaOptions = [
"-encoding", "UTF-8",
"-unchecked",
"-deprecation",
"-Xfuture",
"-Yno-adapted-args",
"-Ywarn-numeric-widen",
"-feature"
]
testFrameworks = [
"org.scalatest.tools.Framework",
"org.scalacheck.ScalaCheckFramework"
]

[module.toml]
root = "shared"
sources = ["shared/src/main/scala"]
targets = ["js", "jvm", "native"]
scalaDeps = [
["com.lihaoyi", "fastparse", "1.0.0"],
["com.chuusai", "shapeless", "2.3.3"]
]

[module.toml.jvm]
root = "jvm"
sources = ["jvm/src/main/scala"]

[module.toml.test.jvm]
sources = ["shared/src/test/scala", "jvm/src/test/scala"]
scalaDeps = [
["org.scalatest" , "scalatest" , "3.0.5" ],
["org.scalacheck", "scalacheck", "1.14.0"]
]

[module.toml.js]
root = "js"
sources = ["js/src/main/scala"]

[module.toml.test.js]
sources = ["shared/src/test/scala"]
scalaDeps = [
["org.scalatest" , "scalatest" , "3.0.5" ],
["org.scalacheck", "scalacheck", "1.14.0"]
]

[module.toml.native]
root = "native"
scalaVersion = "2.11.12"
sources = ["native/src/main/scala"]

[module.toml.test.native]
# Exclude GeneratedSpec.scala and Generators.scala
sources = [
"shared/src/test/scala/toml/CodecSpec.scala",
"shared/src/test/scala/toml/EmbedSpec.scala",
"shared/src/test/scala/toml/GenerationSpec.scala",
"shared/src/test/scala/toml/RulesSpec.scala",
"shared/src/test/scala/toml/TestHelpers.scala",
]
scalaDeps = [
["org.scalatest", "scalatest", "3.2.0-SNAP10"]
]
66 changes: 66 additions & 0 deletions build212.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
[project]
scalaVersion = "2.12.8"
scalaJsVersion = "0.6.26"
scalaNativeVersion = "0.3.8"
scalaOptions = [
"-encoding", "UTF-8",
"-unchecked",
"-deprecation",
"-Xfuture",
"-Yno-adapted-args",
"-Ywarn-numeric-widen",
"-feature"
]
testFrameworks = [
"org.scalatest.tools.Framework",
"org.scalacheck.ScalaCheckFramework"
]

[module.toml]
root = "shared"
sources = ["shared/src/main/scala"]
targets = ["js", "jvm", "native"]
scalaDeps = [
["com.lihaoyi", "fastparse", "1.0.0"],
["com.chuusai", "shapeless", "2.3.3"]
]

[module.toml.jvm]
root = "jvm"
sources = ["jvm/src/main/scala"]

[module.toml.test.jvm]
sources = ["shared/src/test/scala", "jvm/src/test/scala"]
scalaDeps = [
["org.scalatest" , "scalatest" , "3.0.5" ],
["org.scalacheck", "scalacheck", "1.14.0"]
]

[module.toml.js]
root = "js"
sources = ["js/src/main/scala"]

[module.toml.test.js]
sources = ["shared/src/test/scala"]
scalaDeps = [
["org.scalatest" , "scalatest" , "3.0.5" ],
["org.scalacheck", "scalacheck", "1.14.0"]
]

[module.toml.native]
root = "native"
scalaVersion = "2.11.12"
sources = ["native/src/main/scala"]

[module.toml.test.native]
# Exclude GeneratedSpec.scala and Generators.scala
sources = [
"shared/src/test/scala/toml/CodecSpec.scala",
"shared/src/test/scala/toml/EmbedSpec.scala",
"shared/src/test/scala/toml/GenerationSpec.scala",
"shared/src/test/scala/toml/RulesSpec.scala",
"shared/src/test/scala/toml/TestHelpers.scala",
]
scalaDeps = [
["org.scalatest", "scalatest", "3.2.0-SNAP10"]
]

0 comments on commit ac19a1f

Please sign in to comment.