FreeBSD Bugzilla – Attachment 228835 Details for
Bug 259268
[NEW PORT] devel/gocritic
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
[NEW PORT] devel/gocritic
0001-New-port-devel-gocritic.patch (text/plain), 2.51 KB, created by
Robert Clausecker
on 2021-10-19 12:13:05 UTC
(
hide
)
Description:
[NEW PORT] devel/gocritic
Filename:
MIME Type:
Creator:
Robert Clausecker
Created:
2021-10-19 12:13:05 UTC
Size:
2.51 KB
patch
obsolete
>From 3050985c628c0a60f1df73859b16fd5176cc6290 Mon Sep 17 00:00:00 2001 >From: Robert Clausecker <fuz@fuz.su> >Date: Tue, 19 Oct 2021 13:56:38 +0200 >Subject: [PATCH 1/2] New port: devel/gocritic > >--- > devel/Makefile | 1 + > devel/gocritic/Makefile | 18 ++++++++++++++++++ > devel/gocritic/distinfo | 5 +++++ > devel/gocritic/pkg-descr | 9 +++++++++ > 4 files changed, 33 insertions(+) > create mode 100644 devel/gocritic/Makefile > create mode 100644 devel/gocritic/distinfo > create mode 100644 devel/gocritic/pkg-descr > >diff --git a/devel/Makefile b/devel/Makefile >index 1bc9b2ed58d8..03f0d746e379 100644 >--- a/devel/Makefile >+++ b/devel/Makefile >@@ -882,6 +882,7 @@ > SUBDIR += gob2 > SUBDIR += gobject-introspection > SUBDIR += gocheese >+ SUBDIR += gocritic > SUBDIR += godot > SUBDIR += godot-tools > SUBDIR += godot2 >diff --git a/devel/gocritic/Makefile b/devel/gocritic/Makefile >new file mode 100644 >index 000000000000..6eb6c9dadb10 >--- /dev/null >+++ b/devel/gocritic/Makefile >@@ -0,0 +1,18 @@ >+PORTNAME= gocritic >+DISTVERSIONPREFIX= v >+DISTVERSION= 0.6.0 >+CATEGORIES= devel >+ >+MAINTAINER= fuz@fuz.su >+COMMENT= Opinionated Go source code linter for code audit >+ >+LICENSE= MIT >+LICENSE_FILE= ${WRKSRC}/LICENSE >+ >+USES= go:modules >+GO_MODULE= github.com/go-critic/go-critic >+GO_TARGET= ./cmd/gocritic >+ >+PLIST_FILES= bin/gocritic >+ >+.include <bsd.port.mk> >diff --git a/devel/gocritic/distinfo b/devel/gocritic/distinfo >new file mode 100644 >index 000000000000..63ae8ad6c6de >--- /dev/null >+++ b/devel/gocritic/distinfo >@@ -0,0 +1,5 @@ >+TIMESTAMP = 1634600015 >+SHA256 (go/devel_gocritic/gocritic-v0.6.0/v0.6.0.mod) = ab1326bb84fff6d0cc652ca40cb688d574868a5f5319c6a975d7f577244e1077 >+SIZE (go/devel_gocritic/gocritic-v0.6.0/v0.6.0.mod) = 840 >+SHA256 (go/devel_gocritic/gocritic-v0.6.0/v0.6.0.zip) = fde5b7a5a2022e1cc12666f28c47a15f5190e88e59a72a46f8746f7ecb84a55b >+SIZE (go/devel_gocritic/gocritic-v0.6.0/v0.6.0.zip) = 306249 >diff --git a/devel/gocritic/pkg-descr b/devel/gocritic/pkg-descr >new file mode 100644 >index 000000000000..ea3cf9bc423d >--- /dev/null >+++ b/devel/gocritic/pkg-descr >@@ -0,0 +1,9 @@ >+Highly extensible Go source code linter providing checks currently >+missing from other linters. Features: >+ >+ - Almost 100 diagnostics that check for bugs, performance and style issues >+ - Extensible without re-compilation with dynamic rules >+ - Includes #opinionated checks with very strict and specific requirements >+ - Self-documented: gocritic doc <checkname> gives a checker description >+ >+WWW: https://go-critic.com/ >-- >2.32.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
fuz
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 259268
: 228835