   )
 )
 
-gulp.task("watch:version", ->
-  return bumpVersion(watch(glob : paths.src.version, name : "Version-Watcher"))
-)
-
-
 gulp.task("build:scripts", (callback) ->
   runSequence("compile:scripts:production", "combine:scripts:production", "clean:tmp", callback)
 )
 gulp.task("build:styles", ["compile:styles"])
-gulp.task("build:version", ->
-  return bumpVersion(gulp.src(paths.src.version))
-)
 
 gulp.task("build", (callback) ->
   runSequence(["install:bower", "clean:build"], ["build:scripts", "build:styles"], callback)

    )
    .pipe(gulp.dest(dest))
    .pipe(logger())


bumpVersion = (src) ->
  return src.on("data", (versionFile) ->
    versionString = versionFile.contents.toString("utf8")
    gulp.src(paths.dest.version)
      .pipe(bump(version : versionString))
      .pipe(gulp.dest("./"))
      .pipe(logger())
  )




    css : "app/assets/stylesheets/main.less"
    css_watch : "app/assets/stylesheets/**/*.less"
    js : "app/assets/javascripts/**/*.{coffee,js}"
  dest :
    js_tmp : "public/javascripts_tmp"
    js : "public/javascripts"
    css : "public/stylesheets"


logger = ->
