  * If you are unsure which license is appropriate for your use, please contact the sales department
  * at http://www.bstek.com/contact.
  */
+
 """
-			js:
-				files:
-					"dest/publish/cola-core.js": "dest/publish/cola-core.js"
-					"dest/publish/cola-widget.js": "dest/publish/cola-widget.js"
+			build:
+				files:
+					"dist/cola-core.js": "dist/cola-core.js"
+					"dist/cola-widget.js": "dist/cola-widget.js"
+					"dist/cola.css": "dist/cola.css"
 		concat:
 			"3rd":
 				files:
-					"dest/publish/3rd.js": sources.lib.js
+					"dist/3rd.js": sources.lib.js
 
 			cola:
 				files:
-					"dest/publish/cola.js": ["dest/publish/cola-core.js", "dest/publish/cola-widget.js"]
+					"dist/cola.js": ["dist/cola-core.js", "dist/cola-widget.js"]
 
 		cssmin:
 			target:
 				files: [
 					{
 						expand: true
-						cwd: 'dest/publish'
+						cwd: 'dist'
 						src: ['cola.css', 'semantic.css']
-						dest: 'dest/publish/min'
+						dest: 'dist'
 						ext: '.min.css'
 					}
-
 				]
 		compress:
 			js:

sources = require "./sources"
module.exports = (grunt) ->
	grunt.initConfig
		pkg: grunt.file.readJSON "package.json"
		clean:
			build: ["dest/work", "dest/publish"]
			workTemp: ["dest/work/cola"]
			dev: ["dest/dev"]
			"core-widget": [
				"dest/publish/cola-core.js"
				"dest/publish/cola-widget.js"
			]
		coffee:
			dev:

				files: [
					{
						expand: true,
						cwd: 'dist',
						src: '**/*.js'
						dest: 'dist'
						ext: '.min.js'
					}
				]
