Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
# Copyright 2018 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).

from pants.goal.task_registrar import TaskRegistrar as task

from pants.contrib.googlejavaformat.googlejavaformat import (
    GoogleJavaFormatLintTask,
    GoogleJavaFormatTask,
)


def register_goals():
    task(name="google-java-format", action=GoogleJavaFormatTask).install("fmt")
    task(name="google-java-format", action=GoogleJavaFormatLintTask).install("lint")