 
 source =
   micro: "./" + meta.source + "/" + meta.name + ".coffee"
-  specs: "./" + meta.specs + "/" + meta.name + ".specs.js"
+  specs: ["./" + meta.specs + "/*.spec.coffee"]
 
 dist = [
   "./" + meta.dist + "/" + meta.name + ".js"

browserify   = require "browserify"
gulp         = require "gulp"
uglify       = require 'gulp-uglify'
sourceStream = require "vinyl-source-stream"
buffer       = require "vinyl-buffer"



gulp.task "bower", ->
  gulp.src dist
    .pipe gulp.dest bower

gulp.task "specs", ->
  gulp.src source.specs
    .pipe concat "micro.spec.coffee"
    .pipe coffee()
    .pipe gulp.dest meta.build

gulp.task "test", ["specs"], (done) ->
  karma.start
    configFile: __dirname + '/karma.conf.js'
    reporters: ['progress']
    colors: true
    singleRun: true
  , done