mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-05 14:45:59 +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 := {
|
zolaBuild := {
|
||||||
val logger = streams.value.log
|
val logger = streams.value.log
|
||||||
logger.info("Building web site using zola ...")
|
logger.info("Building web site using zola ...")
|
||||||
|
(Compile/resources).value
|
||||||
buildSite(zolaCommand.value, zolaRootDir.value, zolaOutputDir.value, None, logger)
|
buildSite(zolaCommand.value, zolaRootDir.value, zolaOutputDir.value, None, logger)
|
||||||
logger.info("Website built")
|
logger.info("Website built")
|
||||||
},
|
},
|
||||||
@ -42,6 +43,7 @@ object ZolaPlugin extends AutoPlugin {
|
|||||||
val logger = streams.value.log
|
val logger = streams.value.log
|
||||||
val baseurl = zolaTestBaseUrl.value
|
val baseurl = zolaTestBaseUrl.value
|
||||||
logger.info("Building web site (test) using zola ...")
|
logger.info("Building web site (test) using zola ...")
|
||||||
|
(Compile/resources).value
|
||||||
buildSite(
|
buildSite(
|
||||||
zolaCommand.value,
|
zolaCommand.value,
|
||||||
zolaRootDir.value,
|
zolaRootDir.value,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user