Skip to content

Commit

Permalink
add logging for yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
TitusLabs committed Nov 8, 2023
1 parent a6c9d92 commit d444320
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,12 @@ def installFrontend = tasks.register('installFrontend', YarnTask) {
var dir = new File("${buildDir}/yarn")
dir.eachDir {d ->
println("Installed yarn version: ${d}")
d.eachFile {f -> println("Yarn containing file: ${f}")}
var yarn = new File(dir, "yarn")
if(yarn.exists()) yarn.setExecutable(true, false)
if(yarn.exists()) {
println("Setting executable on: ${yarn}")
yarn.setExecutable(true, false)
}
}
}
}
Expand Down

0 comments on commit d444320

Please sign in to comment.