<reponame>dimitrijepetrovic/pants-plugins<gh_stars>10-100
from pants.build_graph.build_file_aliases import BuildFileAliases
from pants.goal.task_registrar import TaskRegistrar as task
from .task import YoyoTask
from .target import YoyoTarget

def build_file_aliases():
  return BuildFileAliases(
    targets={
      'yoyo': YoyoTarget,
    },
  )

def register_goals():
  task(name='migrate', action=YoyoTask).install()

from pants.build_graph.build_file_aliases import BuildFileAliases
from pants.goal.task_registrar import TaskRegistrar as task
from .task import YoyoTask
from .target import YoyoTarget

def build_file_aliases():
  return BuildFileAliases(
    targets={
      'yoyo': YoyoTarget,
    },
  )

def register_goals():
  task(name='migrate', action=YoyoTask).install()