Esempio n. 1
0
def rules():
    return [
        *cloc.rules(), *binary.rules(), *fmt.rules(),
        *generate_pants_ini.rules(), *lint.rules(), *list_roots.rules(),
        *list_targets.rules(), *filedeps.rules(), *run.rules(),
        *strip_source_root.rules(), *distdir.rules(), *test.rules()
    ]
Esempio n. 2
0
def rules():
  return [
    *binary.rules(),
    *fmt.rules(),
    *lint.rules(),
    *list_roots.rules(),
    *list_targets.rules(),
    *filedeps.rules(),
    *run.rules(),
    *strip_source_root.rules(),
    *test.rules()
  ]
 def rules(cls):
   return (
     *super().rules(),
     *awslambda_python_rules(),
     *download_pex_bin.rules(),
     *inject_init.rules(),
     *pex.rules(),
     *pex_from_target_closure.rules(),
     *prepare_chrooted_python_sources.rules(),
     *python_native_code.rules(),
     *strip_source_root.rules(),
     *subprocess_environment.rules(),
     RootRule(PythonAWSLambdaAdaptor),
   )
 def rules(cls):
     return (
         *super().rules(),
         *python_test_runner.rules(),
         *download_pex_bin.rules(),
         *inject_init.rules(),
         *pex.rules(),
         *pex_from_target_closure.rules(),
         *prepare_chrooted_python_sources.rules(),
         *python_native_code.rules(),
         *strip_source_root.rules(),
         *subprocess_environment.rules(),
         subsystem_rule(TestOptions),
         RootRule(PythonTestsAdaptor),
     )