-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating this library to the latest versions and cleaning stuff
- Loading branch information
1 parent
5cda06c
commit ef8d406
Showing
28 changed files
with
162 additions
and
219 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,18 @@ | ||
name: Scala CI | ||
|
||
on: push | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK 8 | ||
uses: actions/setup-java@v2 | ||
with: | ||
java-version: '8' | ||
distribution: 'adopt' | ||
- name: Run tests | ||
run: sbt "+ test" |
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 |
---|---|---|
|
@@ -16,3 +16,5 @@ project/plugins/project/ | |
.scala_dependencies | ||
.worksheet | ||
.idea/ | ||
|
||
.bsp |
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 |
---|---|---|
@@ -1,16 +1,16 @@ | ||
name := "xmlschema2shex" | ||
ThisBuild / organization := "com.herminiogarcia" | ||
|
||
organization := "es.weso" | ||
|
||
version := "0.1-SNAPSHOT" | ||
|
||
scalaVersion := "2.12.8" | ||
|
||
resolvers += "jitpack" at "https://jitpack.io" | ||
|
||
libraryDependencies += "org.scala-lang.modules" %% "scala-parser-combinators" % "1.1.2" | ||
libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.2" % "test" | ||
libraryDependencies += "com.github.herminiogg" % "ShExML" % "0.2.5" | ||
libraryDependencies += "info.picocli" % "picocli" % "4.0.4" | ||
|
||
mainClass in (Compile, run) := Some("es.weso.xmlschema2shex.Main") | ||
lazy val xmlschema2shex = project | ||
.in(file(".")) | ||
.settings( | ||
name := "xmlschema2shex", | ||
version := "0.1.0", | ||
scalaVersion := "3.2.0", | ||
crossScalaVersions := Seq("2.12.17", "2.13.9", "3.2.0"), | ||
libraryDependencies ++= Seq( | ||
"org.scala-lang.modules" %% "scala-parser-combinators" % "2.3.0", | ||
"org.scalatest" %% "scalatest" % "3.2.15" % "test", | ||
"com.herminiogarcia" %% "shexml" % "0.4.2" exclude("io.gatling", "gatling-jsonpath"), | ||
"info.picocli" % "picocli" % "4.7.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 |
---|---|---|
@@ -1 +1 @@ | ||
sbt.version = 0.13.8 | ||
sbt.version = 1.7.2 |
5 changes: 0 additions & 5 deletions
5
src/main/scala-2.12/es/weso/xmlschema2shex/ast/AttributeElement.scala
This file was deleted.
Oops, something went wrong.
83 changes: 0 additions & 83 deletions
83
src/main/scala-2.12/es/weso/xmlschema2shex/parser/Parser.scala
This file was deleted.
Oops, something went wrong.
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
2 changes: 1 addition & 1 deletion
2
.../weso/xmlschema2shex/ast/Attributes.scala → ...arcia/xmlschema2shex/ast/Attributes.scala
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
2 changes: 1 addition & 1 deletion
2
...o/xmlschema2shex/ast/ElementsHolder.scala → ...a/xmlschema2shex/ast/ElementsHolder.scala
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
2 changes: 1 addition & 1 deletion
2
...weso/xmlschema2shex/ast/Restriction.scala → ...rcia/xmlschema2shex/ast/Restriction.scala
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
2 changes: 1 addition & 1 deletion
2
...schema2shex/ast/RestrictionModifier.scala → ...schema2shex/ast/RestrictionModifier.scala
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
2 changes: 1 addition & 1 deletion
2
...2/es/weso/xmlschema2shex/ast/Schema.scala → ...niogarcia/xmlschema2shex/ast/Schema.scala
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
2 changes: 1 addition & 1 deletion
2
...2.12/es/weso/xmlschema2shex/ast/Tag.scala → ...rminiogarcia/xmlschema2shex/ast/Tag.scala
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
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
4 changes: 2 additions & 2 deletions
4
...schema2shex/decorator/NameDecorator.scala → ...schema2shex/decorator/NameDecorator.scala
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
4 changes: 2 additions & 2 deletions
4
...schema2shex/decorator/TypeDecorator.scala → ...schema2shex/decorator/TypeDecorator.scala
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
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
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
4 changes: 2 additions & 2 deletions
4
...ma2shex/generation/NameNormalizator.scala → ...ma2shex/generation/NameNormalizator.scala
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
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
4 changes: 2 additions & 2 deletions
4
...ema2shex/generation/VarTableBuilder.scala → ...ema2shex/generation/VarTableBuilder.scala
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
6 changes: 3 additions & 3 deletions
6
...LSchema2ShExMLDeclarationsConverter.scala → ...LSchema2ShExMLDeclarationsConverter.scala
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
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
Oops, something went wrong.