Skip to content

Commit

Permalink
add example project setup
Browse files Browse the repository at this point in the history
  • Loading branch information
halotukozak committed May 12, 2024
1 parent 41e2b2a commit 6fff426
Show file tree
Hide file tree
Showing 37 changed files with 53 additions and 3 deletions.
24 changes: 24 additions & 0 deletions .idea/sbt.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/scala_compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build.sbt → Smark/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ lazy val root = (project in file("."))
name := "Smark",
idePackagePrefix := Some("halotukozak.smark"),
libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.18" % Test,
)
)
1 change: 1 addition & 0 deletions Smark/project/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sbt.version = 1.9.9
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 6 additions & 0 deletions Smark/src/main/scala/utils/DefaultTypeParameter.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package halotukozak.smark
package utils

trait Default[A] {
type default <: A
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version = 1.9.9
sbt.version=1.9.7
17 changes: 17 additions & 0 deletions smark-example/build.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
val tapirVersion = "1.10.7"

lazy val rootProject = (project in file(".")).settings(
Seq(
name := "smark-example",
version := "0.1.0-SNAPSHOT",
organization := "halotukozak",
scalaVersion := "3.3.3",
libraryDependencies ++= Seq(
"com.softwaremill.sttp.tapir" %% "tapir-netty-server-sync" % tapirVersion,
// "com.halotukozak" %% "smark" % "0.1.0-SNAPSHOT",
"ch.qos.logback" % "logback-classic" % "1.5.6",
"com.softwaremill.sttp.tapir" %% "tapir-sttp-stub-server" % tapirVersion % Test,
"org.scalatest" %% "scalatest" % "3.2.18" % Test
)
)
)
1 change: 1 addition & 0 deletions smark-example/project/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sbt.version=1.9.9
1 change: 1 addition & 0 deletions smark-example/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6")

0 comments on commit 6fff426

Please sign in to comment.