summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2020-03-26 23:42:50 +0100
committerDan Fandrich <dan@coneharvesters.com>2020-03-26 23:42:50 +0100
commit2da0c33ba723ecfe22380db1a9a3f195902df1da (patch)
tree01689f828c785c3d94319ce136ff699f4c2c6a6a
parent9dab9fce80ff4313a734857471ad5a769f39adfb (diff)
downloadautobuild-2da0c33ba723ecfe22380db1a9a3f195902df1da.tar
autobuild-2da0c33ba723ecfe22380db1a9a3f195902df1da.tar.gz
autobuild-2da0c33ba723ecfe22380db1a9a3f195902df1da.tar.bz2
autobuild-2da0c33ba723ecfe22380db1a9a3f195902df1da.tar.xz
autobuild-2da0c33ba723ecfe22380db1a9a3f195902df1da.zip
Add detection of a dependency on Go.
-rwxr-xr-xautobuild.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/autobuild.rb b/autobuild.rb
index 81b69c9..4f3b10b 100755
--- a/autobuild.rb
+++ b/autobuild.rb
@@ -60,6 +60,9 @@ def find_attributes(build_dir)
if name =~ /^gcc-g(fortran)$/ then
attr[:lang_fortran] = true
end
+ if name =~ /^golang$/ then
+ attr[:lang_go] = true
+ end
if name =~ /^groovy$/ then
attr[:lang_groovy] = true
end