Skip to content

Commit 89d6a7a

Browse files
author
Pietro Bongiovanni
committed
global installer
1 parent 9114997 commit 89d6a7a

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ A commitizen adapter for [Jira smart commits](https://confluence.atlassian.com/d
66

77
## Usage
88

9+
### Global Installation
10+
11+
For a quick global installation of the plugin, simply run the `install.sh` script present in this repo:
12+
13+
```
14+
chmod +x install.sh
15+
16+
./install.sh
17+
```
18+
919
### Add this adapter
1020

1121
Install this adapter

install.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
echo "Installing Commitizen Globally"
3+
npm install -g commitizen
4+
echo "Installing JIRA smart commits"
5+
npm install -g https://github.com/pgoodjohn/cz-jira-smart-commit
6+
echo "Creating a global config file"
7+
echo '{ "path": "/usr/local/lib/node_modules/cz-jira-smart-commit/" }' > ~/.czrc
8+
echo "You can view documentation at the link: "

0 commit comments

Comments
 (0)