Commit 6ca952e2 authored by Vitaliy Vashchenko's avatar Vitaliy Vashchenko

#896 Added log output, to prevent build from stoping task.

parent febb742b
......@@ -315,6 +315,7 @@ task prepareGraphicAssets(dependsOn: prepareAssets) {
new File("${assetsDir.absolutePath}/${assetsDestinationDirName}/").eachDir() { dir ->
dir.eachFileRecurse() { file ->
if (file.name.endsWith(".png") && !file.absolutePath.contains("excluded")) {
println "Optimizing: ${file.name}"
exec {
commandLine 'pngquant', '--ext', '.png', '--nofs', '-f', 256, file.absolutePath
}
......@@ -413,6 +414,7 @@ task prepareHdGraphicAssets(dependsOn: prepareHdAssets) {
new File("${assetsDir.absolutePath}/${assetsDestinationDirName}/").eachDir() { dir ->
dir.eachFileRecurse() { file ->
if (file.name.endsWith(".png") && !file.absolutePath.contains("excluded")) {
println "Optimizing: ${file.name}"
exec {
commandLine 'pngquant', '--ext', '.png', '--nofs', '-f', 256, file.absolutePath
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment