File: 0002-GNUMakefile-Comment-out-golangci-lint.patch

package info (click to toggle)
direnv 2.37.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 872 kB
  • sloc: sh: 1,499; csh: 83; makefile: 7
file content (26 lines) | stat: -rw-r--r-- 706 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From: Punit Agrawal <punit@debian.org>
Date: Mon, 24 Feb 2020 13:26:59 +0900
Subject: GNUMakefile: Comment out golangci-lint

With the upgrade to 2.21.2, direnv has a new dependency
(golangci-lint) which is not currently available in debian.

Skip the linter as it should already be run on any released version of
direnv and is not required for testing the generated binary.
---
 GNUmakefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/GNUmakefile b/GNUmakefile
index 7ab3516..cbc7884 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -119,7 +119,7 @@ test-go:
 	$(GO) test -v ./...
 
 test-go-lint:
-	golangci-lint run
+#	golangci-lint run
 
 test-bash:
 	bash ./test/direnv-test.bash