mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Improve performance of zip/unzip
Adds tests and includes some cleanup
This commit is contained in:
40
build.sbt
40
build.sbt
@ -321,25 +321,6 @@ val loggingApi = project
|
||||
Dependencies.sourcecode
|
||||
)
|
||||
|
||||
// Base module, everything depends on this – including restapi and
|
||||
// joexapi modules. This should aim to have least possible
|
||||
// dependencies
|
||||
val common = project
|
||||
.in(file("modules/common"))
|
||||
.disablePlugins(RevolverPlugin)
|
||||
.settings(sharedSettings)
|
||||
.withTestSettings
|
||||
.settings(
|
||||
name := "docspell-common",
|
||||
libraryDependencies ++=
|
||||
Dependencies.fs2 ++
|
||||
Dependencies.circe ++
|
||||
Dependencies.circeGenericExtra ++
|
||||
Dependencies.calevCore ++
|
||||
Dependencies.calevCirce
|
||||
)
|
||||
.dependsOn(loggingApi)
|
||||
|
||||
val loggingScribe = project
|
||||
.in(file("modules/logging/scribe"))
|
||||
.disablePlugins(RevolverPlugin)
|
||||
@ -355,6 +336,25 @@ val loggingScribe = project
|
||||
)
|
||||
.dependsOn(loggingApi)
|
||||
|
||||
// Base module, everything depends on this – including restapi and
|
||||
// joexapi modules. This should aim to have least possible
|
||||
// dependencies
|
||||
val common = project
|
||||
.in(file("modules/common"))
|
||||
.disablePlugins(RevolverPlugin)
|
||||
.settings(sharedSettings)
|
||||
.withTestSettingsDependsOn(loggingScribe)
|
||||
.settings(
|
||||
name := "docspell-common",
|
||||
libraryDependencies ++=
|
||||
Dependencies.fs2 ++
|
||||
Dependencies.circe ++
|
||||
Dependencies.circeGenericExtra ++
|
||||
Dependencies.calevCore ++
|
||||
Dependencies.calevCirce
|
||||
)
|
||||
.dependsOn(loggingApi)
|
||||
|
||||
// Some example files for testing
|
||||
// https://file-examples.com/index.php/sample-documents-download/sample-doc-download/
|
||||
val files = project
|
||||
@ -393,7 +393,7 @@ ${lines.map(_._1).mkString(",\n")}
|
||||
Seq(target)
|
||||
}.taskValue
|
||||
)
|
||||
.dependsOn(common)
|
||||
.dependsOn(common, loggingScribe)
|
||||
|
||||
val query =
|
||||
crossProject(JSPlatform, JVMPlatform)
|
||||
|
Reference in New Issue
Block a user