question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Proposal: replace `check` and `apply` with a single task with a CLI flag

See original GitHub issue

Instead of having spotlessCheck and spotlessApply, we could instead just have spotless, which could do the same thing as spotlessCheck. In place of spotlessApply, the user would instead run gradlew spotless --apply.

This might mesh better with the incremental build model being implemented in #31.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:44 (24 by maintainers)

github_iconTop GitHub Comments

1reaction
nedtwiggcommented, Dec 21, 2016

I did my profiling using DurianDebug, especially StepProfiler. It’s helpful for “println()” profiling. The downside is there’s no way to do it without hacking up the code. I’ll push up a profile branch that shows one way to do it. Great cleanup in recent commit to 3.x btw 👍

0reactions
oehmecommented, Jan 3, 2017

Yes and that field would have to be static (as tasks are recreated on each build), which is exactly what I proposed above.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Building a Simple CLI Tool with Golang | Rapid7 Blog
Go automatically checks that user input is provided for all flags that require it. It also verifies that all flags provided are known....
Read more >
schtasks commands | Microsoft Learn
You can use these tools together and interchangeably. ... The task you plan to run must have the appropriate permission; these permissions ...
Read more >
Command: apply | Terraform - HashiCorp Developer
The terraform apply command executes the actions proposed in a Terraform plan to create, update, or destroy infrastructure.
Read more >
Command Line Interface Guidelines
An open-source guide to help you write better command-line programs, ... Only use one-letter flags for commonly used flags, particularly at the top-level ......
Read more >
Feature flags - GitLab Docs
Search your project and find any references of a feature flag in your code so that you can clean it up when it's...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found