Skip to content

Commit 8c9dbc7

Browse files
committed
Initial.
0 parents  commit 8c9dbc7

16 files changed

+701
-0
lines changed

.gitignore

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
*.class
2+
*.log
3+
4+
# sbt specific
5+
dist/*
6+
target/
7+
lib_managed/
8+
src_managed/
9+
project/boot/
10+
project/plugins/project/
11+
project/source.scala
12+
13+
# Scala-IDE specific
14+
.scala_dependencies
15+
.idea
16+
*.iml
17+
18+
# vim
19+
*.swp
20+
21+
# Local source linking
22+
project/source.scala
23+
24+
# osx
25+
*.DS_Store

NOTICE.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
====
2+
Copyright 2013,2014 Ambiata Pty Ltd
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
====
16+
17+
(c) Copyright Ambiata Pty Ltd, 2013,2014
18+
19+
Some files contain other unattributed Contributions to the Work; All Contributions
20+
received from Contributors under the terms of the Apache License Agreement v 2.0 and
21+
re-distributed in accordance with that license.

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
disorder
2+
========
3+
4+
```
5+
"Lights are flashing, cars are crashing, getting frequent now"
6+
```
7+
8+
A small library of useful scalacheck generators.

bin/ci

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#/bin/sh
2+
3+
JVM_OPTS="-Dfile.encoding=UTF8 -XX:MaxPermSize=512m -Xms512m -Xmx2g -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC"; export JVM_OPTS
4+
5+
./sbt -Dsbt.log.noformat=true "; clean; test-only -- console junitxml; +publish; echo-version"

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.5

project/build.scala

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
import sbt._
2+
import Keys._
3+
import sbt.KeyRanks._
4+
import sbtassembly.Plugin._
5+
import com.ambiata.promulgate.project.ProjectPlugin._
6+
7+
object build extends Build {
8+
type Settings = Def.Setting[_]
9+
10+
lazy val poacher = Project(
11+
id = "poacher"
12+
, base = file(".")
13+
, settings =
14+
Defaults.coreDefaultSettings ++
15+
promulgate.library(s"com.ambiata.disorder", "ambiata-oss") ++
16+
Seq[Settings](
17+
name := "poacher"
18+
, version in ThisBuild := "0.0.1"
19+
, organization := "com.ambiata"
20+
, scalaVersion := "2.11.2"
21+
, crossScalaVersions := Seq("2.11.2")
22+
, libraryDependencies ++= depend.scalaz ++ depend.scalacheck ++ depend.specs2
23+
, scalacOptions ++= Seq(
24+
"-target:jvm-1.6"
25+
, "-deprecation"
26+
, "-unchecked"
27+
, "-feature"
28+
, "-language:_"
29+
, "-Xlint"
30+
, "-Xfatal-warnings"
31+
, "-Yinline-warnings"
32+
)
33+
, javacOptions ++= Seq("-source", "1.6", "-target", "1.6")
34+
)
35+
)
36+
}

project/depend.scala

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import sbt._
2+
import Keys._
3+
4+
object depend {
5+
val scalaz = Seq("org.scalaz" %% "scalaz-core" % "7.1.0",
6+
"org.scalaz" %% "scalaz-effect" % "7.1.0")
7+
val scalacheck = Seq("org.scalacheck" %% "scalacheck" % "1.11.4")
8+
val specs2 = Seq("org.specs2" %% "specs2-core"
9+
, "org.specs2" %% "specs2-scalacheck"
10+
, "org.specs2" %% "specs2-junit").map(_ % "2.4.5" % "test")
11+
12+
val resolvers = Seq(
13+
Resolver.sonatypeRepo("releases"),
14+
Resolver.sonatypeRepo("snapshots"),
15+
Resolver.sonatypeRepo("public"),
16+
Resolver.typesafeRepo("releases"),
17+
"cloudera" at "https://repository.cloudera.com/content/repositories/releases",
18+
Resolver.url("ambiata-oss", new URL("https://ambiata-oss.s3.amazonaws.com"))(Resolver.ivyStylePatterns),
19+
"Scalaz Bintray Repo" at "http://dl.bintray.com/scalaz/releases")
20+
}

project/plugins.sbt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
scalacOptions += "-deprecation"
2+
3+
resolvers += Resolver.url("ambiata-oss", new URL("https://ambiata-oss.s3.amazonaws.com"))(Resolver.ivyStylePatterns)
4+
5+
resolvers += Resolver.sonatypeRepo("releases")
6+
7+
resolvers += Resolver.typesafeRepo("releases")
8+
9+
addSbtPlugin("com.ambiata" % "promulgate" % "0.11.0-20141014013725-80c129f")

0 commit comments

Comments
 (0)