From 0bc6de6f0102cc78d5ac8ad2750f908a9b409a1a Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 16 Apr 2020 13:52:14 +0200 Subject: Add rust & fix C# detection and add a few more detected bugs. --- autobuild.rb | 5 ++++- bugscan.rb | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/autobuild.rb b/autobuild.rb index ae14e98..373d8cc 100755 --- a/autobuild.rb +++ b/autobuild.rb @@ -51,7 +51,7 @@ def find_attributes(build_dir) if name =~ /^(bwbasic|yabasic|mono-basic)$/ then attr[:lang_basic] = true end - if name =~ /^mono$/ then + if name =~ /^mono-core$/ then attr[:lang_dotnet] = true end if name =~ /^erlang-compiler$/ then @@ -110,6 +110,9 @@ def find_attributes(build_dir) if name =~ /^(ruby-devel|lib(64)?ruby[0-9])/ then attr[:lang_ruby] = true end + if name =~ /^rust$/ then + attr[:lang_rust] = true + end if name =~ /^tcl$/ then attr[:lang_tcl] = true end diff --git a/bugscan.rb b/bugscan.rb index f3f25f0..a5f8b6d 100644 --- a/bugscan.rb +++ b/bugscan.rb @@ -12,5 +12,7 @@ $bug_matches = { "^ File not found:" => "err_packagedfilemissing", "SyntaxError: Missing parentheses in call to 'print'." => "err_python3", # e.g. pyzy "ERROR: ambiguous python shebang" => "err_python3", # e.g. scid + "%py2_build" => "err_python3", # e.g. obapps "libtool: compile: unable to infer tagged configuration" => "err_libtool", # e.g. mcal + "XMvn was unable to resolve artifact" => "err_javadep", # e.g. mnemonicsetter } -- cgit v1.2.1