Skip to content

Commit 01a963d

Browse files
committed
Copy minified file to docs on build
1 parent 2d64be9 commit 01a963d

File tree

4 files changed

+59
-6
lines changed

4 files changed

+59
-6
lines changed

Gruntfile.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@ module.exports = function (grunt) {
3333
}
3434
}
3535
},
36+
37+
copy: {
38+
docs: {
39+
files: {
40+
'docs/js/': 'jquery.drum.min.js',
41+
}
42+
}
43+
},
44+
3645
watch: {
3746
src: {
3847
files: 'src/**/*',
@@ -41,5 +50,5 @@ module.exports = function (grunt) {
4150
},
4251
});
4352

44-
grunt.registerTask('build', ['uglify']);
53+
grunt.registerTask('build', ['uglify', 'copy']);
4554
};

0 commit comments

Comments
 (0)