Is there any way to make a quick test on some pre-commit code?

2014-02-06 Thread Nan Zhu
Hi, all Is it always necessary to run sbt assembly when you want to test some code, Sometimes you just repeatedly change one or two lines for some failed test case, it is really time-consuming to sbt assembly every time any faster way? Best, -- Nan Zhu

Re: Is there any way to make a quick test on some pre-commit code?

2014-02-06 Thread Reynold Xin
You can do sbt/sbt assemble-deps and then just run sbt/sbt package each time. You can even do sbt/sbt ~package for automatic incremental compilation. On Thu, Feb 6, 2014 at 4:46 PM, Nan Zhu zhunanmcg...@gmail.com wrote: Hi, all Is it always necessary to run sbt assembly when you

Re: Is there any way to make a quick test on some pre-commit code?

2014-02-06 Thread Nan Zhu
Thank you very much, Reynold -- Nan Zhu On Thursday, February 6, 2014 at 7:50 PM, Reynold Xin wrote: You can do sbt/sbt assemble-deps and then just run sbt/sbt package each time. You can even do sbt/sbt ~package for automatic incremental compilation. On Thu,

Re: Is there any way to make a quick test on some pre-commit code?

2014-02-06 Thread Mridul Muralidharan
This is neat, thanks Reynold ! Regards, Mridul On Fri, Feb 7, 2014 at 6:20 AM, Reynold Xin r...@databricks.com wrote: You can do sbt/sbt assemble-deps and then just run sbt/sbt package each time. You can even do sbt/sbt ~package for automatic incremental compilation. On Thu,

Re: Is there any way to make a quick test on some pre-commit code?

2014-02-06 Thread Henry Saputra
+1 On Thu, Feb 6, 2014 at 10:46 PM, Patrick Wendell pwend...@gmail.com wrote: We should document this on the wiki! On Thu, Feb 6, 2014 at 10:37 PM, Mridul Muralidharan mri...@gmail.com wrote: This is neat, thanks Reynold ! Regards, Mridul On Fri, Feb 7, 2014 at 6:20 AM, Reynold Xin

Re: Is there any way to make a quick test on some pre-commit code?

2014-02-06 Thread Nan Zhu
+1 -- Nan Zhu On Friday, February 7, 2014 at 1:59 AM, Henry Saputra wrote: +1 On Thu, Feb 6, 2014 at 10:46 PM, Patrick Wendell pwend...@gmail.com (mailto:pwend...@gmail.com) wrote: We should document this on the wiki! On Thu, Feb 6, 2014 at 10:37 PM, Mridul Muralidharan