Skip to content

Commit 7844d97

Browse files
committed
Fix ShellCheck issues, indentation, add workflow
Fix all the issues identified by `shellcheck`, except a few that I'm unsure about or think should be as they are. Add a GitHub workflow that runs ShellCheck on `pgenv`. Fix inconsistent indentation and replace tabs with four spaces. Add `.gitattributes` to exclude files from archives (such as those generated for tags) and properly increment the version to v1.4.1.
1 parent e144dfa commit 7844d97

File tree

4 files changed

+230
-215
lines changed

4 files changed

+230
-215
lines changed

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.gitignore export-ignore
2+
.gitattributes export-ignore
3+
.github export-ignore

.github/workflows/shellcheck.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: ✅ ShellCheck
2+
on: [push, pull_request]
3+
4+
jobs:
5+
shellcheck:
6+
name: ✅ ShellCheck
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- run: shellcheck bin/pgenv

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
/.pgenv.*
44
/config
55
.DS_Store
6+
.vscode

0 commit comments

Comments
 (0)