Skip to content

Commit

Permalink
fixup! Fixed symlinks in svg_rendering/page
Browse files Browse the repository at this point in the history
  • Loading branch information
thvitt committed Sep 26, 2019
1 parent 2eca21f commit d84b06e
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions build.gradle
Expand Up @@ -69,6 +69,17 @@ task installTools(type: Copy) {
outputs.dir(toolDir)
}

task copyWeb(type: CopyWithSymlink) {
description "Copy the web page sources"
from fileTree("src/main/web")
into "$buildDir/www"
}

task copySource(type: CopyWithSymlink) {
from xmlDir
into "$buildDir/www/xml"
}

task generateSVGs(type: JavaExec) {
description "Generates SVGs of diplomatic transcripts and overlays"
dependsOn installTools
Expand All @@ -86,23 +97,12 @@ task generateSVGs(type: JavaExec) {
'phantomjs.binary': "$toolDir/slimerjs-1.0.0/slimerjs" ,
'faust.diplo.target': buildDir
])
systemProperties(project.properties.findAll {key, value -> key.matches('^faust\\.diplo\\.')})
systemProperties(project.properties.findAll {key, value -> key.matches('^faust\\.diplo\\..*')})

classpath sourceSets.main.runtimeClasspath
main 'net.faustedition.gen.DiplomaticConversion'
}

task copyWeb(type: CopyWithSymlink) {
description "Copy the web page sources"
from fileTree("src/main/web")
into "$buildDir/www"
}

task copySource(type: CopyWithSymlink) {
from xmlDir
into "$buildDir/www/xml"
}

build.dependsOn generateSVGs, copyWeb, copySource


Expand Down

0 comments on commit d84b06e

Please sign in to comment.