Add section to the README for building and testing.
Showing
1 changed file
with
12 additions
and
0 deletions
... | @@ -99,3 +99,15 @@ So let's say we wanted a `data-color` binding that sets the element's colour. He | ... | @@ -99,3 +99,15 @@ So let's say we wanted a `data-color` binding that sets the element's colour. He |
99 | - data-selected | 99 | - data-selected |
100 | - data-*[attribute]* | 100 | - data-*[attribute]* |
101 | - data-on-*[event]* | 101 | - data-on-*[event]* |
102 | |||
103 | ## Building and Testing | ||
104 | |||
105 | Before proceeding, make sure to run `npm install` so that you have all the development dependencies. | ||
106 | |||
107 | #### Building | ||
108 | |||
109 | Rivets.js uses [grunt](http://gruntjs.com/) as the build tool. Run `grunt` from within the project root and it will compile + minify into */lib* whenever the source file is saved. You can also run `grunt build` to rebuild the project manually. | ||
110 | |||
111 | #### Testing | ||
112 | |||
113 | Rivets.js uses [Jasmine](http://pivotal.github.com/jasmine/) as the testing framework. You can run the tests by opening the *test.html* file. | ... | ... |
-
Please register or sign in to post a comment