Re: Is there any way to make a quick test on some pre-commit code?
+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 (mailto:pwend...@gmail.com)> wrote: > > We should document this on the wiki! > > > > On Thu, Feb 6, 2014 at 10:37 PM, Mridul Muralidharan > (mailto:mri...@gmail.com)> wrote: > > > This is neat, thanks Reynold ! > > > > > > Regards, > > > Mridul > > > > > > On Fri, Feb 7, 2014 at 6:20 AM, Reynold Xin > > (mailto: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, Feb 6, 2014 at 4:46 PM, Nan Zhu > > > (mailto:zhunanmcg...@gmail.com)> wrote: > > > > > > > > > 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?
+1 On Thu, Feb 6, 2014 at 10:46 PM, Patrick Wendell wrote: > We should document this on the wiki! > > On Thu, Feb 6, 2014 at 10:37 PM, Mridul Muralidharan wrote: >> This is neat, thanks Reynold ! >> >> Regards, >> Mridul >> >> On Fri, Feb 7, 2014 at 6:20 AM, 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, Feb 6, 2014 at 4:46 PM, Nan Zhu wrote: >>> 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?
We should document this on the wiki! On Thu, Feb 6, 2014 at 10:37 PM, Mridul Muralidharan wrote: > This is neat, thanks Reynold ! > > Regards, > Mridul > > On Fri, Feb 7, 2014 at 6:20 AM, 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, Feb 6, 2014 at 4:46 PM, Nan Zhu wrote: >> >>> 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?
This is neat, thanks Reynold ! Regards, Mridul On Fri, Feb 7, 2014 at 6:20 AM, 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, Feb 6, 2014 at 4:46 PM, Nan Zhu wrote: > >> 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?
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, Feb 6, 2014 at 4:46 PM, Nan Zhu (mailto:zhunanmcg...@gmail.com)> wrote: > > > 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?
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 wrote: > 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 > >
Is there any way to make a quick test on some pre-commit code?
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