 
 # 	watch:
 # 		css:
-# 			files: ['<%= pkg.path.scss %>/**/*.scss'],
+# 			files: ['<%= conf.path.scss %>/**/*.scss'],
 # 			tasks: ['sass:dist']
 # 		coffee:
-# 			files: ['<%= pkg.path.coffee %>/**/*.coffee'],
+# 			files: ['<%= conf.path.coffee %>/**/*.coffee'],
 # 			tasks: ['coffee:dist']
 
 

#*------------------------------------*/
gulp.task 'shell', shell.task [
	"cd styleguide/public",
	'ln -s ../../' + pkg.path.assets + ' assets'
].join('&&')
# 	shell:
# 		styleSymlinks:
# 			command: [
# 				'cd styleguide/public'
# 				'ln -s ../../<%= pkg.path.assets %> assets'
# 			].join('&&'),
# 			options:
# 				stdout:true


#*------------------------------------*\
#   $CONTRIB-COFFEE
#*------------------------------------*/
gulp.task "coffee", () ->
	gulp.src([pkg.+"**/*.coffee"])
		.pipe(plumber())
		.pipe(coffee({bare: true})).on('error', gutil.log)
		.pipe(concat("built#{ext}.js"))
		.pipe( if isProd then uglify() else gutil.noop() )
		.pipe(gulp.dest("./#{themePath}/assets/javascripts"))
# 	coffee:
# 		dist:
# 			files: [{
# 				expand: true
# 				cwd: '<%= pkg.path.coffee %>'
# 				src: '{,*/}*.coffee'
# 				dest: '<%= pkg.path.js %>'
# 				ext: '.js'
# 			}]


# 				pass: "<%= pvt.db_prod.pass %>"
# 				host: "<%= pvt.db_prod.host %>"
# 				ssh_host: "<%= pvt.username %>@<%= pvt.domain %>"
# 				backup_to: '<%= conf.path.db_backup %>/prod/<%= pvt.db_prod.name %>_<%= grunt.template.date("yyyymmdd-HHmmss") %>.sql'


#*------------------------------------*\
