Skip to content

Commit

Permalink
fix: let gradle copy witness-stats.json and faust.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
thvitt committed Sep 26, 2022
1 parent b72d1c8 commit a3d1786
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
14 changes: 13 additions & 1 deletion build.gradle
Expand Up @@ -115,6 +115,18 @@ task copySource(type: CopyWithSymlink) {
into "$buildDir/www/xml"
}

task copyTextXml(type: CopyWithSymlink) {
from("$buildDir/lesetext") {
include 'faust.xml'
}
into "$buildDir/www/download"
}

task copyWitnessStats(type: CopyWithSymlink) {
from("$buildDir/www/macrogenesis") { include 'witness-stats.json' }
into "$buildDir/www/data"
}

task generateSVGs(type: JavaExec) {
description "Generates SVGs of diplomatic transcripts and overlays"
// dependsOn installTools
Expand Down Expand Up @@ -217,7 +229,7 @@ task deployToExist {
}
}

assemble.dependsOn generateSVGs, copyWeb, copySource, xar
assemble.dependsOn generateSVGs, copyWeb, copySource, xar, copyTextXml, copyWitnessStats


task showProps { doLast {
Expand Down

0 comments on commit a3d1786

Please sign in to comment.