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 2014 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).

from pants.backend.project_info.rules import dependencies, source_file_validator
from pants.backend.project_info.tasks.dependencies import Dependencies
from pants.backend.project_info.tasks.depmap import Depmap
from pants.backend.project_info.tasks.export import Export
from pants.backend.project_info.tasks.filedeps import FileDeps
from pants.backend.project_info.tasks.idea_plugin_gen import IdeaPluginGen
from pants.goal.task_registrar import TaskRegistrar as task


def build_file_aliases():
    pass


def register_goals():
    task(name="idea-plugin", action=IdeaPluginGen).install()
    task(name="export", action=Export).install()

    task(name="depmap", action=Depmap).install()
    task(name="dependencies", action=Dependencies).install()
    task(name="filedeps", action=FileDeps).install("filedeps")


def rules():
    return (
        *source_file_validator.rules(),
        *dependencies.rules(),
    )