Skip to content

Commit

Permalink
Make path relative
Browse files Browse the repository at this point in the history
  • Loading branch information
EmergentOrder committed Aug 15, 2024
1 parent a852687 commit dc0e7ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ lazy val backends = (crossProject(JSPlatform, JVMPlatform)
val htmlFiles: Seq[File] = Seq(new File("package.json"))

// use Path.rebase to pair source files with target destination in crossTarget
val pairs = htmlFiles pair rebase(src, (Compile / target).value / "/home/lorp/code/onnx-scala/backends/.js/target/scala-3.5.0-RC7/scalajs-bundler/test/node_modules/onnxruntime-common")
val pairs = htmlFiles pair rebase(src, (Compile / target).value / "scala-3.5.0-RC7/scalajs-bundler/test/node_modules/onnxruntime-common")

// Copy files to source files to target
IO.copy(pairs, CopyOptions.apply(overwrite = true, preserveLastModified = true, preserveExecutable = false))
Expand Down

0 comments on commit dc0e7ad

Please sign in to comment.