 onScript = (file) ->
 	filePath = path.relative file.base, file.path
 	filePath = path.join SCRIPTS_MIN_DIRECTORY, filePath if file.revOrigBase
-	filePath = path.resolve '/', filePath
+	filePath = unixifyPath '/' + filePath
 	endsWith = '.spec.js'
 	isSpec   = filePath.slice(-endsWith.length) is endsWith
 

onStyle = (file) ->
	filePath = path.relative file.base, file.path
	filePath = path.join STYLES_MIN_DIRECTORY, filePath if file.revOrigBase
	filePath = path.resolve '/', filePath

	templateOptions.styles.push filePath


		.on 'error', onError

# Generate CHANGELOG
gulp.task 'changelog', ['normalizeComponents', 'stats'], ->
	options =
		repository: pkg.repository.url
		version: pkg.version
