Skip to content

Commit 12791dc

Browse files
committed
feat: update README.md
1 parent b04ec46 commit 12791dc

File tree

4 files changed

+31
-11
lines changed

4 files changed

+31
-11
lines changed

.prettierrc.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"semi": false,
3+
"tabWidth": 4,
4+
"trailingComma": "es5",
5+
"printWidth": 105
6+
}

.releaserc.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"branches": ["main"],
3-
"plugins": [
4-
"@semantic-release/commit-analyzer",
5-
"@semantic-release/release-notes-generator",
6-
"@semantic-release/github"
7-
]
2+
"branches": ["main"],
3+
"plugins": [
4+
"@semantic-release/commit-analyzer",
5+
"@semantic-release/release-notes-generator",
6+
"@semantic-release/github"
7+
]
88
}

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ setup_dev:
88
pipx install pre-commit
99
pre-commit install
1010

11-
brew install shfmt shellcheck
11+
brew install shfmt shellcheck prettier
1212

1313
assert_setup_dev:
1414
pre-commit run -a
1515

1616
lint:
1717
find . -type f -name "*.sh" -exec shfmt -w -i 6 {} +
1818
find . -type f -name "*.sh" -exec shellcheck {} +
19+
prettier --write "**/*.{json,yaml,yml,md}"

README.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Shared Scripts
22

3-
Collection of development setup and utility scripts for macOS environments.
3+
Quick-share command line scripts for use in quick command runner like Makefile or Justfile.
44

55
## Quick Start
66

@@ -11,6 +11,19 @@ make assert_setup_dev # Validate setup
1111

1212
## Requirements
1313

14-
- macOS
15-
- Homebrew
16-
- Zsh shell
14+
- macOS
15+
- Homebrew
16+
- Zsh shell
17+
18+
## Usage
19+
20+
```bash
21+
git submodule add -b main https://github.com/wisarootl/shared-scripts.git scripts/shared
22+
```
23+
24+
```Makefile
25+
setup_dev:
26+
chmod +x scripts/shared/node/setup_dev.sh
27+
./scripts/shared/node/setup_dev.sh
28+
exec zsh
29+
```

0 commit comments

Comments
 (0)