Skip to content

Commit

Permalink
Add missing entry points
Browse files Browse the repository at this point in the history
  • Loading branch information
ejba committed Jan 18, 2021
1 parent 8d41e5b commit c10b904
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
language: python
pass_filenames: false

- id: maven-compile
name: maven compile
description: Runs maven compile build lifecycle
entry: maven-compile
language: python
pass_filenames: false

- id: maven-spotless-check
name: maven spotless check
description: Runs spotless:check goal
Expand Down
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ install_requires =
[options.entry_points]
console_scripts =
maven = pre_commit_maven.maven:main
maven-compile = pre_commit_maven.maven_compile:main
maven-test = pre_commit_maven.maven_test:main
maven-checkstyle = pre_commit_maven.maven_checkstyle:main
maven-spotless-check = pre_commit_maven.maven_spotless_check:main
maven-spotless-apply = pre_commit_maven.maven_spotless_apply:main

Expand Down

0 comments on commit c10b904

Please sign in to comment.