-
Notifications
You must be signed in to change notification settings - Fork 129
Contributing to KoGrid
ericmbarnard edited this page Aug 27, 2012
·
1 revision
##Building KoGrid KoGrid uses Grunt as its build system. It's really simple and easy ... so don't get scared by it.
- Grunt is a Module built on top of NodeJS, which you can install from here
- Install Grunt on your machine using NodeJS, just open a command prompt and type:
npm install -g grunt
- Grunt also will run your unit tests - but it needs PhantomJS to do so, so look at this - you'll also want PhantomJS to be in your PATH see here
- Finally just navigate to your repo directory and type
grunt.cmd
(if on Windows) or justgrunt
Grunt will work through the repo and do the following (check out the grunt.js
file in the root of the repo)
- Concatenate all of KoGrid's javascript files into one debug script and place that in the
/Dist
folder - Minify the debug script and create a
.min.js
file in the/Dist
folder - possibly more if we want to get fancy