about summary refs log tree commit diff
path: root/xlint
diff options
context:
space:
mode:
authorNoel Cower <ncower@gmail.com>2019-01-02 20:26:31 -0800
committerToyam Cox <aviator45003@gmail.com>2019-01-02 23:30:08 -0500
commite751ef516df1ffb20e4976f5550840c54e4f631a (patch)
tree444cc7411bdca07ff30c6badb1b107debec4c144 /xlint
parent581e593aa91dce9a45e5bce466e02eb4edb52c40 (diff)
downloadxtools-e751ef516df1ffb20e4976f5550840c54e4f631a.tar.gz
xtools-e751ef516df1ffb20e4976f5550840c54e4f631a.tar.xz
xtools-e751ef516df1ffb20e4976f5550840c54e4f631a.zip
xlint: Handle go_mod_mode in linting
Added to the go build style, so this ought to be supported.
Diffstat (limited to 'xlint')
-rwxr-xr-xxlint2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlint b/xlint
index cd27a1c..4ed3c4c 100755
--- a/xlint
+++ b/xlint
@@ -44,6 +44,7 @@ variables_order() {
 			go_import_path=*) curr_index=12;;
 			go_ldflags=*) curr_index=12;;
 			go_package=*) curr_index=12;;
+			go_mod_mode=*) curr_index=12;;
 			make_build_args=*) curr_index=12;;
 			make_build_target=*) curr_index=12;;
 			make_check_args=*) curr_index=12;;
@@ -157,6 +158,7 @@ go_get
 go_import_path
 go_ldflags
 go_package
+go_mod_mode
 homepage
 hostmakedepends
 keep_libtool_archives