fix(README.md): add coverage badge

master
Ariel Mashraki 10 years ago
parent 94be1481aa
commit d85bdb5b24

@ -3,10 +3,11 @@ angular-local-storage
An Angular module that gives you access to the browsers local storage, **v0.1.3** An Angular module that gives you access to the browsers local storage, **v0.1.3**
[![Build Status](https://secure.travis-ci.org/grevory/angular-local-storage.png?branch=master)](https://travis-ci.org/grevory/) [![Build Status](https://secure.travis-ci.org/grevory/angular-local-storage.png?branch=master)](https://travis-ci.org/grevory/) [![Coverage Status](https://img.shields.io/coveralls/grevory/angular-local-storage.svg)](https://coveralls.io/r/grevory/angular-local-storage?branch=master)
##Table of contents: ##Table of contents:
- [Get Started](#get-started) - [Get Started](#get-started)
- [Development](#development)
- [Configuration](#configuration) - [Configuration](#configuration)
- [setPrefix](#setprefix) - [setPrefix](#setprefix)
- [setStorageType](#setstoragetype) - [setStorageType](#setstoragetype)
@ -319,19 +320,22 @@ myApp.controller('MainCtrl', function($scope, localStorageService) {
Check out the full demo at http://gregpike.net/demos/angular-local-storage/demo.html Check out the full demo at http://gregpike.net/demos/angular-local-storage/demo.html
##Development: ##Development:
* Don't forget about tests.
* If you planning add some feature please create issue before.
Clone the project: Clone the project:
```bash ```sh
$ git clone https://github.com/<your-repo>/angular-local-storage.git $ git clone https://github.com/<your-repo>/angular-local-storage.git
$ npm install $ npm install
$ bower install $ bower install
``` ```
Run the tests: Run the tests:
```bash ```sh
$ grunt test $ grunt test
``` ```
**Deploy:**<br/> **Deploy:**<br/>
Run the build task, update version before(bower,package) Run the build task, update version before(bower,package)
```bash ```sh
$ grunt dist $ grunt dist
$ git tag 0.*.* $ git tag 0.*.*
$ git push origin master --tags $ git push origin master --tags