Skip to content

checksrc: add source style checker - #236

Closed
vszakats wants to merge 1 commit into
libssh2:masterfrom
vszakats:checksrcpl
Closed

vszakats wants to merge 1 commit into
libssh2:masterfrom
vszakats:checksrcpl

Conversation

@vszakats

@vszakats vszakats commented Mar 10, 2018 •

Copy link
Copy Markdown
Member

This is a slightly extended version of this original source from the curl project:
https://github.com/curl/curl/blob/8b754c430b9a4c51aa606c687ee5014faf7c7b06/lib/checksrc.pl

This version adds the following options to customize it for libssh2:

  • -i<n> to override indentation spaces (2)
  • -m<n> to override maximum line length (79)

Command-line used to check libssh2 sources:

./checksrc.pl -i4 -m500 *.c *.h

This is a slightly extended version of this original source
from the curl project:
https://github.com/curl/curl/blob/8b754c430b9a4c51aa606c687ee5014faf7c7b06/lib/checksrc.pl

This version adds the following options to customize it for
libssh2 (plus some whitespace formatting):

`-i<n>`  to override indentation spaces (2)
`-m<n>`  to override maximum line length (79)

Command-line used to check libssh2 sources:

$ ./checksrc.pl -i4 -m500 *.c *.h
@vszakats vszakats closed this in fad6e5b Mar 12, 2018
@vszakats
vszakats deleted the checksrcpl branch March 12, 2018 10:59
kbulgrien pushed a commit to kbulgrien/libssh2-1.2.4-sco3.2v5.0.7 that referenced this pull request Dec 14, 2018
This is a slightly extended version of this original source
from the curl project:
https://github.com/curl/curl/blob/8b754c430b9a4c51aa606c687ee5014faf7c7b06/lib/checksrc.pl

This version adds the following options to customize it for
libssh2 (plus some whitespace formatting):

`-i<n>`  to override indentation spaces (2)
`-m<n>`  to override maximum line length (79)

Command-line used to check libssh2 sources:

$ ./checksrc.pl -i4 -m500 *.c *.h

Closes libssh2#236
alex-weaver pushed a commit to alex-weaver/libssh2 that referenced this pull request Mar 23, 2023
This is a slightly extended version of this original source
from the curl project:
https://github.com/curl/curl/blob/8b754c430b9a4c51aa606c687ee5014faf7c7b06/lib/checksrc.pl

This version adds the following options to customize it for
libssh2 (plus some whitespace formatting):

`-i<n>`  to override indentation spaces (2)
`-m<n>`  to override maximum line length (79)

Command-line used to check libssh2 sources:

$ ./checksrc.pl -i4 -m500 *.c *.h

Closes libssh2#236
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant