Skip to content

Commit 1f9d827

Browse files
committed
Change the order between compile and building SparkR.
1 parent 445050b commit 1f9d827

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

project/SparkBuild.scala

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -901,10 +901,13 @@ object SparkR {
901901
val command = baseDirectory.value / ".." / "R" / "install-dev.sh"
902902
Process(command.toString).!!
903903
},
904-
(Compile / compile) := {
905-
buildRPackage.value
906-
(Compile / compile).value
907-
}
904+
(Compile / compile) := (Def.taskDyn {
905+
val c = (Compile / compile).value
906+
Def.task {
907+
(Compile / buildRPackage).value
908+
c
909+
}
910+
}).value
908911
)
909912
}
910913

0 commit comments

Comments
 (0)