WIP - installing grunt

Installed yeoman and grunt:
npm install -g yo grunt-cli

Initialized default angular app with yeoman
to learn what it produces for a Gruntfile.js
and other configuraiton:
yo angular

Mostly following http://www.sitepoint.com/kickstart-your-angularjs-development-with-yeoman-grunt-and-bower/
Renamed main distfile to reflect new directive name
Modified Gruntfile.js to work with our custom setup

We have a few different paths from the standard ones.
Added version info to the banner.
WIP - disabling test temporarily to test out grunt

Have seen & fixed this failure before, should be easy to fix
correctly.
Build dist files via grunt (regular and minified)

$ time grunt
Running "clean:server" (clean) task
Cleaning .tmp...OK

Running "concurrent:test" (concurrent) task

    Running "copy:styles" (copy) task

    Done, without errors.

    Elapsed time
    loading tasks  2ms  ▇▇▇▇▇▇▇▇▇▇▇▇ 25%
    copy:styles    6ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 75%
    Total 8ms

    Running "coffee:dist" (coffee) task
    File .tmp/scripts/bb-paginate.js created.
    File .tmp/scripts/bb-paginate.js.map created.
    File .tmp/scripts/directive.js created.
    File .tmp/scripts/directive.js.map created.
    File .tmp/scripts/standard-paginator.js created.
    File .tmp/scripts/standard-paginator.js.map created.
    File .tmp/scripts/terminal-paginator.js created.
    File .tmp/scripts/terminal-paginator.js.map created.

    Running "coffee:test" (coffee) task

    Done, without errors.

    Elapsed time
    coffee:dist  282ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 98%
    coffee:test    4ms  ▇ 1%
    Total 289ms

Running "autoprefixer:dist" (autoprefixer) task

Running "connect:test" (connect) task
Started connect web server on 127.0.0.1:9001.

Running "karma:unit" (karma) task
INFO [karma]: Karma v0.10.4 server started at http://localhost:9876/
INFO [launcher]: Starting browser Chrome
WARN [launcher]: Can not load "Safari", it is not registered!
  Perhaps you are missing some plugin?
INFO [launcher]: Starting browser Firefox
WARN [watcher]: Pattern "/home/clc31/src/bb-paginate/bower_components/jasmine-master/lib/jasmine-core/jasmine.js" does not match any file.
WARN [watcher]: Pattern "/home/clc31/src/bb-paginate/bower_components/jasmine-master/lib/jasmine-core/jasmine-html.js" does not match any file.
INFO [Firefox 25.0.0 (Linux)]: Connected on socket IbK1zNY2eWqheawrGwlM
INFO [Chrome 32.0.1700 (Linux)]: Connected on socket SVnwu3zs3UXH7a1LGwlN
Firefox 25.0.0 (Linux): Executed 35 of 35 SUCCESS (0.939 secs / 0.712 secs)
Chrome 32.0.1700 (Linux): Executed 35 of 35 SUCCESS (1.037 secs / 0.742 secs)
TOTAL: 70 SUCCESS

Running "clean:dist" (clean) task
Cleaning .tmp...OK
Cleaning dist/bb-paginate.js...OK

Running "useminPrepare:css" (useminPrepare) task
Going through  to update the config
Looking for build script HTML comment blocks

Configuration is now:

  concat:
  { dist:
   { options: { banner: '/*! bb-paginate v1.0.0 2013-11-20 /\n' },
     src: '.tmp/scripts/.js',
     dest: 'dist/bb-paginate.js' } }

  uglify:
  { options: { banner: '/*! bb-paginate v1.0.0 2013-11-20 /\n' },
  dist:
   { files:
      [ { expand: true,
          cwd: 'dist/',
          src: [ '**/.js' ],
          dest: 'dist/',
          ext: '.min.js' } ] } }

  cssmin:
  { dist:
   { files:
      { '<%= yeoman.dist %>/styles/main.css':
         [ '.tmp/styles/{,*/}*.css',
           'example/css/{,*/}*.css' ] } } }

Running "concurrent:dist" (concurrent) task

    Running "coffee:dist" (coffee) task
    File .tmp/scripts/bb-paginate.js created.
    File .tmp/scripts/bb-paginate.js.map created.
    File .tmp/scripts/directive.js created.
    File .tmp/scripts/directive.js.map created.
    File .tmp/scripts/standard-paginator.js created.
    File .tmp/scripts/standard-paginator.js.map created.
    File .tmp/scripts/terminal-paginator.js created.
    File .tmp/scripts/terminal-paginator.js.map created.

    Running "coffee:test" (coffee) task

    Done, without errors.

    Elapsed time
    coffee:dist  285ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 96%
    coffee:test    8ms  ▇▇ 3%
    Total 296ms

    Running "copy:styles" (copy) task

    Done, without errors.

    Elapsed time
    loading tasks  6ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 40%
    copy:styles    9ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 60%
    Total 15ms

    Running "cssmin:dist" (cssmin) task
    >> Destination not written because minified CSS was empty.

    Done, without errors.

    Elapsed time
    loading tasks   4ms  ▇▇▇▇▇▇▇▇▇ 19%
    cssmin          1ms  ▇▇▇ 5%
    cssmin:dist    15ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 71%
    Total 21ms

Running "autoprefixer:dist" (autoprefixer) task

Running "concat:dist" (concat) task
File "dist/bb-paginate.js" created.

Running "ngmin:dist" (ngmin) task
ngminifying .tmp/scripts/bb-paginate.js, .tmp/scripts/directive.js, .tmp/scripts/standard-paginator.js, .tmp/scripts/terminal-paginator.js

Running "copy:dist" (copy) task

Running "cssmin:dist" (cssmin) task
>> Destination not written because minified CSS was empty.

Running "uglify:dist" (uglify) task
File "dist/bb-paginate.min.js" created.

Running "rev:dist" (rev) task

Running "usemin:css" (usemin) task

Done, without errors.

Elapsed time
concurrent:test     3s  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 22%
karma:unit          5s  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 39%
concurrent:dist     4s  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 31%
ngmin:dist       320ms  ▇▇▇ 2%
uglify:dist      447ms  ▇▇▇▇ 3%
Total 14s

real	0m19.866s
user	0m28.744s
sys	0m2.016s
Merge pull request #2 from chazchandler/adding-grunt

Adding grunt
Merge branch 'pr/1'

Conflicts:
	bower.json
	package.json
Add language specification to README code snippets
[D46404001] Added spec for Page object
Fixed page select handler spec failure