mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-03 22:05:57 +00:00
Create resources before building site
This commit is contained in:
parent
45b0deeced
commit
5e61540b45
@ -35,6 +35,7 @@ object ZolaPlugin extends AutoPlugin {
|
||||
zolaBuild := {
|
||||
val logger = streams.value.log
|
||||
logger.info("Building web site using zola ...")
|
||||
(Compile/resources).value
|
||||
buildSite(zolaCommand.value, zolaRootDir.value, zolaOutputDir.value, None, logger)
|
||||
logger.info("Website built")
|
||||
},
|
||||
@ -42,6 +43,7 @@ object ZolaPlugin extends AutoPlugin {
|
||||
val logger = streams.value.log
|
||||
val baseurl = zolaTestBaseUrl.value
|
||||
logger.info("Building web site (test) using zola ...")
|
||||
(Compile/resources).value
|
||||
buildSite(
|
||||
zolaCommand.value,
|
||||
zolaRootDir.value,
|
||||
|
Loading…
x
Reference in New Issue
Block a user