Adds Instructions for grunt.

This commit is contained in:
raghunayyar 2015-05-20 19:09:21 +05:30 committed by Georg Ehrke
parent 75b7775fd3
commit 89621e5e79
1 changed files with 20 additions and 0 deletions

View File

@ -7,3 +7,23 @@ This is the calendar rework branch. <br>
It will replace the old calendar code with ownCloud 8 or ownCloud 9. <br>
It's still __in development__, __don't use it in a productive environment__. <br>
There will be legacy apis, but you should consider implementing new features based on this branch and not based on current master.
### Building JavaScript
Make sure you have node and npm installed on your development machine in order to run the JavaScript tasks.
All commands should be run inside the build directory
**Updating 3rdparty files**
We use bower to manage 3rdparty dependancies in ownCloud calendar. In order to install bower, run,
> npm install -g bower
To run the build tasks, we use gruntjs tasks which can be installed via npm as
> npm install
Building SASS and JS
grunt build
Watching SASS and JS
grunt watch
Coming Soon: running JS tests.