Commit 5067e816 by Amelin Konstantin

Add README.md

parent f1991e76
# Конвертер из формата репозитария НРД в формат репозитария РТС
# Установка
1) Установить [IDE](https://www.jetbrains.com/idea/).
2) Установить Scala/Sbt [плагин](https://www.jetbrains.com/help/idea/discover-intellij-idea-for-scala.html#scala_plugin).
# Импорт проекта
Импортировать проект. <https://www.jetbrains.com/help/idea/sbt-support.html#import_sbt>
# Запуск проекта
1) Создать в корне проекта папку output.
2) Запуск из терминала
```
sbt run
или
sbt ~run
```
3) Запуск из IDE. <https://www.jetbrains.com/help/idea/discover-intellij-idea-for-scala.html#RunningDebugging>
4) Запуск тестов из терминала
```
sbt test
или
sbt ~test
```
......@@ -93,7 +93,7 @@ class TemplateSpec extends WordSpec {
}
it should {
"find template instance using source" in {
"choose right Template class and create template instance using source" in {
implicit def templateFactory(source: Node): Template = {
(source \\ "trade").head.child.filter {
case v: Elem => true
......@@ -112,7 +112,7 @@ class TemplateSpec extends WordSpec {
}
it should {
"throw Exception if template type is undefined" in {
"throw Exception if Template type is undefined" in {
implicit def templateFactory(source: Node): Template = {
(source \\ "trade").head.child.filter {
case v: Elem => true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment