Skip to content

Commit

Permalink
Merge pull request #365 from sjrd/remove-example
Browse files Browse the repository at this point in the history
Remove the `examples` project.
  • Loading branch information
bishabosha authored Oct 18, 2023
2 parents 8416e61 + 4374805 commit aa16c42
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 76 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/scala.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ jobs:
run: sbt tastyQueryJVM/test
- name: Run JS tests
run: sbt tastyQueryJS/test
- name: Run examples
run: sbt "examples/run simple_trees.TypeMember"
- name: Run scalafmt check
run: sbt scalafmtCheck
- name: Run version policy check
Expand Down
10 changes: 0 additions & 10 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -186,16 +186,6 @@ lazy val tastyQuery =
jsEnv := new NodeJSEnv(NodeJSEnv.Config().withArgs(List("--enable-source-maps"))),
)

lazy val examples = project
.in(file("examples"))
.dependsOn(tastyQuery.jvm)
.settings(
commonSettings,
publish / skip := true,
fork := true,
envVars ++= (tastyQuery.jvm / Test / envVars).value,
)

def patchTastyCoreSource(lines: List[String]): List[String] = {
val importStatement = raw"""(?s)(^ *import .+\.)_$$""".r
for (line <- lines) yield {
Expand Down
64 changes: 0 additions & 64 deletions examples/src/main/scala/examples/TastyPrint.scala

This file was deleted.

0 comments on commit aa16c42

Please sign in to comment.