Skip to content

Commit 44dfc56

Browse files
committed
[GR-52408] Workaround mx build --no-native no longer working
1 parent 2c810b7 commit 44dfc56

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mx.truffleruby/mx_truffleruby.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,9 @@ def ruby_testdownstream_aot(args):
224224

225225
def ruby_spotbugs(args):
226226
"""Run SpotBugs with custom options to detect more issues"""
227-
mx.command_function('build')(['--no-native']) # SpotBugs needs all Java projects to be built
227+
# SpotBugs needs all Java projects to be built
228+
# GR-52408: mx.command_function('build')(['--no-native']) should be enough but it fails
229+
mx.command_function('build')([])
228230

229231
filters = join(root, 'mx.truffleruby', 'spotbugs-filters.xml')
230232
spotbugsArgs = ['-textui', '-low', '-longBugCodes', '-include', filters]

0 commit comments

Comments
 (0)