-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Set up ktfmt to format code (#247)
* feat: Set up ktfmt to format code * Actually format code
- Loading branch information
Showing
55 changed files
with
4,430 additions
and
2,773 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,8 @@ alias( | |
name = "bazel-diff", | ||
actual = "//cli:bazel-diff", | ||
) | ||
|
||
alias( | ||
name = "format", | ||
actual = "//cli:format", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
package com.bazel_diff | ||
|
||
import com.bazel_diff.cli.BazelDiff | ||
import picocli.CommandLine | ||
import kotlin.system.exitProcess | ||
import picocli.CommandLine | ||
|
||
class Main { | ||
companion object { | ||
@JvmStatic | ||
fun main(args: Array<String>) { | ||
val exitCode = CommandLine(BazelDiff()).execute(*args) | ||
exitProcess(exitCode) | ||
} | ||
companion object { | ||
@JvmStatic | ||
fun main(args: Array<String>) { | ||
val exitCode = CommandLine(BazelDiff()).execute(*args) | ||
exitProcess(exitCode) | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.