Closed ethauvin closed 7 years ago
Two cases:
./kobaltw --update
--update
parameter; doesn't display the banner../kobaltw update
--update
parameter; the banner is displayed.update
task,That's fixable, but I don't think it needs to be. The update
task is the only task that is not project-related, with the exception of maybe copyVersionForWrapper
. As a matter of fact, without looking at --tasks
, most would think it actually updates the project.
I'm hard-pressed to find a compelling scenario were update
would be used instead of --update
. With that in mind, I'd suggest removing the update
task altogether.
Thoughts?
Fine by me. I only put it there because of pressure from some people who were used to the Gradle syntax. Removing it.
-- Cédric
On Thu, Apr 6, 2017 at 9:52 AM, Erik C. Thauvin notifications@github.com wrote:
Two cases:
-
./kobaltw --update
- Kobalt sees the --update parameter; doesn't display the banner.
- Performs the update.
- Launches the new version; displaying the banner.
./kobaltw update
- No --update parameter; the banner is displayed.
- Performs the update task,
- Launches the new version; displaying the banner, again.
That's fixable, but I don't think it needs to be. The update task is the only task that is not project-related, with the exception of maybe copyVersionForWrapper. As a matter of fact, without looking at --tasks, most would think it actually updates the project.
I'm hard-pressed to find a compelling scenario were update would be used instead of --update. With that in mind, I'd suggest removing the update task altogether.
Thoughts?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cbeust/kobalt/issues/381#issuecomment-292236023, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFoomg2QqLttyucCef--bDp4awrXj0kks5rtRg-gaJpZM4MwnlO .
That's
update
not--update
.