Add section to the README for building and testing.
Showing
1 changed file
with
13 additions
and
1 deletions
... | @@ -98,4 +98,16 @@ So let's say we wanted a `data-color` binding that sets the element's colour. He | ... | @@ -98,4 +98,16 @@ So let's say we wanted a `data-color` binding that sets the element's colour. He |
98 | - data-unchecked | 98 | - data-unchecked |
99 | - data-selected | 99 | - data-selected |
100 | - data-*[attribute]* | 100 | - data-*[attribute]* |
101 | - data-on-*[event]* | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
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