Date: Tue, 29 Sep 2020 09:23:05 +0000 (UTC) From: Adam Weinberger <adamw@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r550486 - head/devel/shfmt Message-ID: <202009290923.08T9N5gC055117@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adamw Date: Tue Sep 29 09:23:04 2020 New Revision: 550486 URL: https://svnweb.freebsd.org/changeset/ports/550486 Log: devel/shfmt: More informative strings Modified: head/devel/shfmt/Makefile head/devel/shfmt/pkg-descr Modified: head/devel/shfmt/Makefile ============================================================================== --- head/devel/shfmt/Makefile Tue Sep 29 09:17:51 2020 (r550485) +++ head/devel/shfmt/Makefile Tue Sep 29 09:23:04 2020 (r550486) @@ -6,7 +6,7 @@ DISTVERSION= 3.1.2 CATEGORIES= devel MAINTAINER= adamw@FreeBSD.org -COMMENT= Format shell scripts +COMMENT= Shell script formatter LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE @@ -22,9 +22,11 @@ GH_TUPLE= go-errgo:errgo:v2.1.0:go_errgo_errgo/vendor/ mvdan:editorconfig:e40951bde157:mvdan_editorconfig/vendor/mvdan.cc/editorconfig \ pkg:diff:531926345625:pkg_diff/vendor/github.com/pkg/diff \ rogpeppe:go-internal:v1.5.2:rogpeppe_go_internal/vendor/github.com/rogpeppe/go-internal + GO_TARGET= ./cmd/shfmt GO_BUILDFLAGS= -ldflags="-s -w -X main.version=${DISTVERSIONFULL}" GO_TESTTARGET= ./cmd/shfmt + PLIST_FILES= bin/shfmt .include <bsd.port.mk> Modified: head/devel/shfmt/pkg-descr ============================================================================== --- head/devel/shfmt/pkg-descr Tue Sep 29 09:17:51 2020 (r550485) +++ head/devel/shfmt/pkg-descr Tue Sep 29 09:23:04 2020 (r550486) @@ -1,4 +1,12 @@ -Shfmt is a shell script formatter. It supports POSIX Shell, Bash, -and mksh. +shfmt formats shell programs. It can use tabs or any number of spaces to +indent. + +You can feed it standard input, any number of files or any number of +directories to recurse into. When recursing, it will operate on .sh and .bash +files and ignore files starting with a period. It will also operate on files +with no extension and a shell shebang. + +If any EditorConfig files are found, they will be used to apply formatting +options. WWW: https://github.com/mvdan/sh
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009290923.08T9N5gC055117>