         dest: 'target/test'
         ext: '.js'
 
+      examples:
+        expand: true
+        cwd: 'examples'
+        src: '**/*.coffee'
+        dest: 'target/examples',
+        ext: '.js'
+
     mochaTest:
       options:
         reporter: 'spec'

    coffeelint:
      options:
        configFile: 'coffeelint.json'
      main: 'src/**/*.coffee'
      test: 'test/**/*.coffee'
      build: 'gruntfile.coffee'

    coffee:
      options:


  grunt.registerTask 'default', [ 'validate', 'compile' ]

  grunt.registerTask 'validate', [ 'coffeelint:build', 'coffeelint:main', 'coffeelint:test', 'coffeelint:examples' ]

  grunt.registerTask 'compile', [ 'clean:main', 'coffee:main' ]

  grunt.registerTask 'test-compile', [ 'clean:test', 'coffee:test', 'coffee:examples' ]

  grunt.registerTask 'test', [ 'validate', 'compile', 'test-compile', 'mochaTest' ]

