File tree Expand file tree Collapse file tree 1 file changed +13
-10
lines changed
Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments