Skip to content
This repository was archived by the owner on Feb 9, 2020. It is now read-only.

Commit 13fd5a8

Browse files
committed
docs(build/test): Document the process for building from source & running tests
Fixes #251
1 parent a854245 commit 13fd5a8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CONTRIBUTING.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This document describes how to contribute to Batarang
44

55
## Installing from Source
66

7-
1. Clone the repository: `git clone git://github.com/angular/angularjs-batarang`
7+
1. Clone the repository: `git clone git@github.com:angular/batarang.git`
88
2. Install the npm dependencies `npm install`
99
3. Build the inject script: `npm run build`
1010
4. Navigate to `chrome://extensions` and enable Developer Mode.
@@ -13,6 +13,9 @@ This document describes how to contribute to Batarang
1313

1414
## Running the tests
1515

16+
- To run the tests once: `npm test`
17+
- To watch the directory, running tests whenver something is updated: `npm run test:watch`
18+
1619
## Packaging a release
1720

1821
I (@btford) will do this periodically, but I'm adding these instructions here

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"browserify-eep": "^0.3.1"
2222
},
2323
"scripts": {
24-
"test": "echo \"Error: no test specified\" && exit 1",
24+
"test": "karma start --single-run",
25+
"test:watch": "karma start",
2526
"build": "gulp"
2627
},
2728
"repository": {

0 commit comments

Comments
 (0)