Skip to content

Commit

Permalink
Update Contributing
Browse files Browse the repository at this point in the history
  • Loading branch information
Huei Tan committed Dec 23, 2015
1 parent a274a4f commit 41a40ae
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions CONTRIBUTING.md
@@ -1,5 +1,6 @@
Adding a new validation
CONTRIBUTING
=====

**Clone the repo to your computer**
```sh
git clone https://github.com/huei90/angular-validation.git
Expand All @@ -13,11 +14,22 @@ npm install

**Before coding** <small>Boot the Environment</small>
```sh
grunt dev
grunt dev # developing environment
grunt check # check the code quality
grunt build # build files
```

**Test**
```sh
# Test it locally
npm test
```

Karma Test done by Travis-ci

Adding a new validation
=====

**Start coding**
```
open `rule.js`, looking for `var expression` and `var defaultMsg`
Expand Down Expand Up @@ -45,15 +57,11 @@ var defaultMsg = {
}
};
```
**Test**
```sh
# Test it locally
npm test
```

Karma Test done by Travis-ci, <br/>
When you are done, test it on `http://localhost:8080`

<hr/>

**Give me a PR** <small> Thanks for it </small>

**Who does the exactly same job ?**
Expand All @@ -62,7 +70,6 @@ When you are done, test it on `http://localhost:8080`
2. https://github.com/nelsonomuto/angular-ui-form-validation
3. (Waiting list..)


**Note**

1. More Status
Expand Down

0 comments on commit 41a40ae

Please sign in to comment.