Skip to content

Commit

Permalink
Fix :runIde gradle command (#1423)
Browse files Browse the repository at this point in the history
## Changes

Make sure `:runIde` properly copies `node` artefacts so it also works in
development mode.

## Test plan

N/A
  • Loading branch information
pkukielka authored Apr 30, 2024
1 parent 3e60270 commit fd06855
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,11 @@ tasks {
into(buildCodyDir)
}

copy {
from(downloadNodeBinaries())
into(buildCodyDir)
}

return buildCodyDir
}

Expand Down Expand Up @@ -321,8 +326,6 @@ tasks {
into("agent/")
}

from(fileTree(downloadNodeBinaries())) { into("agent/") }

doLast {
// Assert that agent binaries are included in the plugin
val pluginPath = buildPlugin.get().outputs.files.first()
Expand Down

0 comments on commit fd06855

Please sign in to comment.