Skip to content

Commit 1f80f23

Browse files
pawelczakpawelczak
authored andcommitted
Closes #158. Closes #159. Dist map files are located in map directory.
1 parent 7503c50 commit 1f80f23

12 files changed

+34
-22
lines changed

Gruntfile.js

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ module.exports = function(grunt) {
101101
dev: {
102102
options: {
103103
style: 'expanded',
104-
compass: false
104+
sourceMap: false
105105
},
106106
files: [{
107107
expand: true,
@@ -117,7 +117,7 @@ module.exports = function(grunt) {
117117
dist: {
118118
options: {
119119
style: 'compressed',
120-
compass: false
120+
sourceMap: false
121121
},
122122
files: [{
123123
expand: true,
@@ -148,6 +148,17 @@ module.exports = function(grunt) {
148148
}
149149
},
150150

151+
copy: {
152+
files: {
153+
cwd: '<%= project.sass.dist %>', // set working folder / root to copy
154+
src: '*.map', // copy all files and subfolders
155+
dest: '<%= project.sass.dist %>/maps', // destination folder
156+
expand: true // required when using cwd
157+
}
158+
},
159+
160+
clean: ['<%= project.sass.dist %>/*.map'],
161+
151162

152163
//------------------------ MISC --------------------------
153164

@@ -186,7 +197,7 @@ module.exports = function(grunt) {
186197

187198
grunt.registerTask('test', ['qunit:unit', 'qunit:integration']);
188199

189-
grunt.registerTask('build', ['qunit:unit', 'concat', 'comments', 'uglify', 'sass:dev', 'sass:dist', 'usebanner']);
200+
grunt.registerTask('build', ['qunit:unit', 'concat', 'comments', 'uglify', 'sass:dev', 'sass:dist', 'usebanner', 'copy', 'clean']);
190201

191202
grunt.registerTask('devel', ['build', 'qunit:integration']);
192203

dist/easy-autocomplete.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/easy-autocomplete.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/easy-autocomplete.themes.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/easy-autocomplete.themes.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jquery.easy-autocomplete.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* jQuery plugin for autocompletion
44
*
55
* @author Łukasz Pawełczak (http://github.com/pawelczak)
6-
* @version 1.3.2
6+
* @version 1.3.3
77
* Copyright MIT License: https://github.com/pawelczak/easy-autocomplete/blob/master/LICENSE.txt
88
*/
99

dist/jquery.easy-autocomplete.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/easy-autocomplete.themes.css.map renamed to dist/maps/easy-autocomplete.themes.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)