kobalt icon indicating copy to clipboard operation
kobalt copied to clipboard

Clean task does not remove `libs` from project root

Open binkley opened this issue 9 years ago • 3 comments
trafficstars

After using the run task, I ran the clean task but it did not remove the libs directory from project root.

This could be fixed, of course, though my preference is to not have a libs in project root in the first place -- see #173.

binkley avatar Apr 24 '16 12:04 binkley

clean only deletes what's under kobaltBuild/ by design, why should it delete $ROOT/libs? That's dangerous, this directory could contain users libraries...

cbeust avatar Apr 24 '16 15:04 cbeust

I noticed when I use kobalt run it creates a libs and copies my project jar there. I have no user libraries separate from that created by Kobalt. Do I misunderstand the design?

binkley avatar Apr 24 '16 23:04 binkley

No, it's just that run depends on install which moves the output of your build from kobaltBuild/libs to the libs directory of your project...

cbeust avatar Apr 25 '16 22:04 cbeust