   stylusSrc: [
     './src/d3-meets-chart.styl'
   ]
-  main: dir.tmp + file.main
-  mainMin: dir.tmp + file.mainMin
-  specRunner: dir.tmp + file.specRunner
+  tmp:
+    main: dir.tmp + file.main
+    mainMin: dir.tmp + file.mainMin
+  dist:
+    main: dir.dist + file.main
+    mainMin: dir.dist + file.mainMin
   karmaFiles: [
     'bower_components/d3/d3.min.js',
     'tmp/d3-meets-chart.js',


dir =
  tmp: './tmp/'

file =
  main: 'd3-meets-chart.js'

    )
    .on('error', (err) -> throw err)

gulp.task('licenses', -> licenseFind().pipe(gulp.dest('./audit')))

# Runners
gulp.task('compile:tmp', -> runSequence('clean:tmp', 'coffee:src:tmp', 'coffee:spec:tmp', 'stylus:src', 'uglify:tmp'))
gulp.task('compile:dist', -> runSequence('clean:dist', 'coffee:src:dist', 'uglify:dist'))
gulp.task('travis', -> runSequence('clean:tmp', 'coffee:src:tmp', 'coffee:spec:tmp', 'stylus:src', 'uglify:tmp', 'karma:travis'))
gulp.task('watch', -> gulp.watch(['./src/*.coffee', './src/*.styl', './spec/*.coffee'], ['compile:tmp']))
gulp.task('build', ['compile:dist'])
gulp.task('default', ['compile:tmp'])
