Skip to content

tests: add shellchecks and shfmt to README#2458

Merged
Alkarex merged 1 commit intoFreshRSS:devfrom
Frenzie:shellchecks-readme
Jul 24, 2019
Merged

tests: add shellchecks and shfmt to README#2458
Alkarex merged 1 commit intoFreshRSS:devfrom
Frenzie:shellchecks-readme

Conversation

@Frenzie
Copy link
Copy Markdown
Member

@Frenzie Frenzie commented Jul 23, 2019


The `shellchecks.sh` script is used to safeguard shell scripts from common
shell script bugs and to ensure a consistent style.
It requires [ShellCheck](https://www.shellcheck.net/) and [shfmt](https://github.com/mvdan/sh).
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is shfmt available from apt or something?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only way I know. Could probably be adopted to always grab the latest release.
wget https://github.com/mvdan/sh/releases/download/v2.6.4/shfmt_v2.6.4_linux_amd64 -O $HOME/.local/bin/shfmt

@Alkarex Alkarex added this to the 1.14.3 milestone Jul 24, 2019
@Alkarex Alkarex merged commit b12d261 into FreshRSS:dev Jul 24, 2019
@Frenzie Frenzie deleted the shellchecks-readme branch July 24, 2019 12:28
mdemoss pushed a commit to mdemoss/FreshRSS that referenced this pull request Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants