sorich87/bootstrap-tour — pull request #99 by emmenko (2013-06-08 22:42:00+00:00)
Title: Introduce automated development process using Grunt

Hi,

I'd like to introduce to you a refactored project structure, fully automated by [Grunt](http://gruntjs.com/).

The intention behind this is to have a development environment which takes care of compilations, minifications, test, etc and gives you more time to focus on the development itself. Using Grunt you can define a series of tasks that do exactly those things.

So now, for example, you can do `grunt build` and you get the sources compiled, minified and copied into specific folders, or you can run the tests with `grunt test`.
With `grunt run` you get a small static server running and opened on the browser to the doc/demo page, listening to changes of the coffeescript and reloading automatically the page after that.

The new folder structure is like that:

````javascript
Root folder
|-- build // generated sources
|-- docs // contains the demo page
|-- assets // contains all resources
| |-- css
| |-- img
| |-- js
| |-- vendor
|-- src // development files
|-- coffee
|-- less
|-- test
|-- build // generated spec sources
|-- spec // contains all specs
```

What do you think? I hope this will help to improve the development process.
For any question, feel free to ask :)

Cheers