Skip to content

Commit 03fc672

Browse files
committed
add back in print of sketchbook location
1 parent d581d04 commit 03fc672

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

build.gradle.kts

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -256,23 +256,26 @@ tasks.register("deployToProcessingSketchbook") {
256256
group = "processing"
257257
dependsOn("buildReleaseArtifacts")
258258

259+
doFirst {
260+
println("Copy to sketchbook $sketchbookLocation ...")
261+
}
262+
259263
doLast {
260264
val installDirectory = file("$sketchbookLocation/libraries/$libName")
261265

262266
println("Removing old install from: $installDirectory")
263267
delete(installDirectory)
264268

265269
println("Copying fresh build to sketchbook $sketchbookLocation ...")
266-
project.copy {
267-
from(releaseDirectory) {
268-
include(
269-
"library.properties",
270-
"examples/**",
271-
"library/**",
272-
"reference/**",
273-
"src/**"
274-
)
275-
}
270+
copy {
271+
from(releaseDirectory)
272+
include(
273+
"library.properties",
274+
"examples/**",
275+
"library/**",
276+
"reference/**",
277+
"src/**"
278+
)
276279
into(installDirectory)
277280
}
278281
}

0 commit comments

Comments
 (0)