 #   $TASKS
 #*------------------------------------*/
 gulp.task 'default', ['watch']
-gulp.task "build", ["uglify", "minify"]
+gulp.task "build", ["uglify", "minify", "font", "imagemin", "rev_replace"]
 
 # No exsisting gulp task implemented
 # grunt's devUpdate:check alternative

cp 							= require 'child_process'
spawn 					= cp.spawn
rev 						= require 'gulp-rev'
revReplace			= require 'gulp-rev-replace'

# Extra
extend 					= require "extend"

#   $FONT REV
#*------------------------------------*/
gulp.task "font", () ->
	gulp.src([conf.path.pvt.fnt+'/**/*'])
		.pipe cache(rev())
		.pipe remember()
		.pipe gulp.dest(conf.path.pub.fnt)
