https://pantsbuild.org/ logo
#general
Title
# general
b

bored-art-40741

02/23/2016, 1:55 AM
Copy code
+  Goal.by_name('repl').uninstall_task('scala')
+
+  class FixedScalaRepl(ScalaRepl):
+    @classmethod
+    def select_targets(cls, target):
+      return super(FixedScalaRepl, cls).select_targets(target) or isinstance(target, JvmApp)
+
+  task(
+    name='scala',
+    action=FixedScalaRepl,
+  ).install('repl')
🍻 1