File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Expand file tree Collapse file tree 3 files changed +8
-7
lines changed File renamed without changes.
Original file line number Diff line number Diff line change @@ -14,10 +14,6 @@ setup_dev:
14
14
assert_setup_dev :
15
15
pre-commit run -a
16
16
17
- ci :
18
- chmod +x common/install_brew_packages.sh
19
- ./common/install_brew_packages.sh
20
-
21
17
lint :
22
18
find . -type f -name " *.sh" -exec shfmt -w -i 6 {} +
23
19
find . -type f -name " *.sh" -exec shellcheck {} +
Original file line number Diff line number Diff line change 1
1
# Shared Scripts
2
2
3
- Quick-share command line scripts for use in quick command runner like Makefile or Justfile.
3
+ This repository contains reusable shell scripts intended for use with quick command runners like Makefile or Justfile.
4
+ It is designed to be added as a Git submodule in other projects.
4
5
5
6
## Quick Start
6
7
7
8
``` bash
8
- make setup_dev # Install all dependencies and setup development environment
9
- make assert_setup_dev # Validate setup
9
+ make setup_dev
10
+ make assert_setup_dev
10
11
```
11
12
12
13
## Requirements
@@ -17,10 +18,14 @@ make assert_setup_dev # Validate setup
17
18
18
19
## Usage
19
20
21
+ - Add as Submodule
22
+
20
23
``` bash
21
24
git submodule add -b main https://github.com/wisarootl/shared-scripts.git scripts/shared
22
25
```
23
26
27
+ - Example Makefile Usage
28
+
24
29
``` Makefile
25
30
setup_dev :
26
31
chmod +x scripts/shared/node/setup_dev.sh
You can’t perform that action at this time.
0 commit comments