Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d6df8db
Showing
11 changed files
with
157 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
*.class | ||
*.log | ||
|
||
# sbt specific | ||
.cache/ | ||
.history/ | ||
.lib/ | ||
dist/* | ||
target/ | ||
lib_managed/ | ||
src_managed/ | ||
project/boot/ | ||
project/plugins/project/ | ||
|
||
# Scala-IDE specific | ||
.scala_dependencies | ||
.worksheet | ||
|
||
*~ | ||
.directory | ||
.idea/ |
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,13 @@ | ||
before_install: | ||
- cat /etc/hosts # optionally check the content *before* | ||
- sudo hostname "$(hostname | cut -c1-63)" | ||
- sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts | sudo tee /etc/hosts | ||
- cat /etc/hosts # optionally check the content *after* | ||
|
||
language: scala | ||
|
||
scala: | ||
- 2.12.5 | ||
|
||
jdk: | ||
- oraclejdk8 |
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 @@ | ||
ISC License (ISC) | ||
|
||
Copyright 2018 Edward A. Maxedon, Sr. | ||
|
||
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
Empty file.
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,85 @@ | ||
name := "strftime" | ||
|
||
version := "0.1" | ||
|
||
scalaVersion := "2.12.5" | ||
|
||
//crossScalaVersions := Seq( "2.11.11" ) | ||
|
||
scalacOptions ++= Seq( "-deprecation", "-feature", "-unchecked", "-language:postfixOps", "-language:implicitConversions", "-language:existentials" ) | ||
|
||
organization := "xyz.hyperreal" | ||
|
||
//resolvers += Resolver.sonatypeRepo( "snapshots" ) | ||
|
||
resolvers += "Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/" | ||
|
||
resolvers += "Hyperreal Repository" at "https://dl.bintray.com/edadma/maven" | ||
|
||
libraryDependencies ++= Seq( | ||
"org.scalatest" %% "scalatest" % "3.0.0" % "test", | ||
"org.scalacheck" %% "scalacheck" % "1.13.4" % "test" | ||
) | ||
|
||
libraryDependencies ++= Seq( | ||
// "org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.6", | ||
// "org.scala-lang.modules" %% "scala-xml" % "1.0.6" | ||
// "org.scala-lang.modules" %% "scala-swing" % "2.0.0" | ||
) | ||
|
||
//libraryDependencies ++= Seq( | ||
// "com.typesafe" % "config" % "1.3.1" | ||
//) | ||
|
||
libraryDependencies ++= { | ||
val akkaV = "2.5.11" | ||
Seq( | ||
// "com.typesafe.akka" %% "akka-actor" % akkaV | ||
// "com.typesafe.akka" %% "akka-remote" % akkaV, | ||
// "com.typesafe.akka" %% "akka-testkit" % akkaV % "test", | ||
// "org.specs2" %% "specs2-core" % "2.3.11" % "test" | ||
) | ||
} | ||
|
||
//libraryDependencies ++= { | ||
// val akka_http = "10.0.11" | ||
// Seq( | ||
// "com.typesafe.akka" %% "akka-http-core" % akka_http, | ||
// "com.typesafe.akka" %% "akka-http" % akka_http, | ||
// "com.typesafe.akka" %% "akka-http-testkit" % akka_http, | ||
// "com.typesafe.akka" %% "akka-http-spray-json" % akka_http, | ||
// "com.typesafe.akka" %% "akka-http-jackson" % akka_http | ||
// ) | ||
//} | ||
|
||
libraryDependencies ++= Seq( | ||
) | ||
|
||
mainClass in (Compile, run) := Some( "xyz.hyperreal." + name.value.replace('-', '_') + ".Main" ) | ||
|
||
mainClass in assembly := Some( "xyz.hyperreal." + name.value.replace('-', '_') + ".Main" ) | ||
|
||
assemblyJarName in assembly := name.value + "-" + version.value + ".jar" | ||
|
||
publishMavenStyle := true | ||
|
||
publishArtifact in Test := false | ||
|
||
pomIncludeRepository := { _ => false } | ||
|
||
licenses := Seq("ISC" -> url("https://opensource.org/licenses/ISC")) | ||
|
||
homepage := Some(url("https://github.com/edadma/" + name.value)) | ||
|
||
pomExtra := | ||
<scm> | ||
<url>git@github.com:edadma/{name.value}.git</url> | ||
<connection>scm:git:git@github.com:edadma/{name.value}.git</connection> | ||
</scm> | ||
<developers> | ||
<developer> | ||
<id>edadma</id> | ||
<name>Edward A. Maxedon, Sr.</name> | ||
<url>https://github.com/edadma</url> | ||
</developer> | ||
</developers> |
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 @@ | ||
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.6") |
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 @@ | ||
sbt.version=1.1.4 |
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,3 @@ | ||
addSbtPlugin("io.spray" % "sbt-revolver" % "0.9.1") | ||
|
||
addSbtPlugin("org.foundweekends" % "sbt-bintray" % "0.5.3") |
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,6 @@ | ||
package xyz.hyperreal.strftime | ||
|
||
|
||
object Main extends App { | ||
|
||
} |
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,6 @@ | ||
package xyz.hyperreal.strftime | ||
|
||
|
||
object Main extends App { | ||
|
||
} |
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,14 @@ | ||
package xyz.hyperreal.strftime | ||
|
||
import org.scalatest._ | ||
import prop.PropertyChecks | ||
|
||
|
||
class Tests extends FreeSpec with PropertyChecks with Matchers { | ||
|
||
"tests" in { | ||
// a [RuntimeException] should be thrownBy {interpret( """ (= 1 1] """ )} | ||
// interpret( """ (cdr '(a)) """ ) shouldBe SNil | ||
} | ||
|
||
} |