Rename BlueMapVue to webapp

This commit is contained in:
Lukas Rieger (Blue) 2022-12-18 17:30:00 +01:00
parent 8fad71ac74
commit bdaf24d2f7
No known key found for this signature in database
GPG Key ID: 2D09EC5ED2687FF2
138 changed files with 196 additions and 162 deletions

View File

@ -51,7 +51,7 @@ spotless {
node {
version.set("14.16.1")
download.set(true)
nodeProjectDir.set(file("BlueMapVue/"))
nodeProjectDir.set(file("webapp/"))
}
tasks.withType(JavaCompile::class).configureEach {
@ -71,25 +71,25 @@ tasks.test {
tasks.register("buildWebapp", type = NpmTask::class) {
doFirst {
if (!file("BlueMapVue/dist/").deleteRecursively())
if (!file("webapp/dist/").deleteRecursively())
throw IOException("Failed to delete build directory!")
}
dependsOn ("npmInstall")
args.set(listOf("run", "build"))
inputs.dir("BlueMapVue/")
outputs.dir("BlueMapVue/dist/")
inputs.dir("webapp/")
outputs.dir("webapp/dist/")
}
tasks.register("zipWebapp", type = Zip::class) {
dependsOn ("buildWebapp")
from (fileTree("BlueMapVue/dist/"))
from (fileTree("webapp/dist/"))
archiveFileName.set("webapp.zip")
destinationDirectory.set(file("src/main/resources/de/bluecolored/bluemap/"))
//outputs.upToDateWhen { false }
inputs.dir("BlueMapVue/dist/")
inputs.dir("webapp/dist/")
outputs.file("src/main/resources/de/bluecolored/bluemap/webapp.zip")
}

View File

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 53 KiB

View File

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

Before

Width:  |  Height:  |  Size: 919 B

After

Width:  |  Height:  |  Size: 919 B

View File

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Some files were not shown because too many files have changed in this diff Show More