Skip to content

Commit 78a19de

Browse files
author
Rafael J. Staib
committed
Add some minor changes to the build process
1 parent 0208539 commit 78a19de

8 files changed

+1987
-52
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
dist
2-
build
32
docs
43
downloads
54
*~

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
- Nested tags which have the same node name as the body tag cause an exception. Closes issue [#4](https://github.com/rstaib/jquery-steps/issues/4)
66
- Improved architecture under the hood (data and UI changes are separated into layer)
7-
- Improved code for better minification
7+
- Optimized code for better minification
88
- Configurable clearfix css class
99
- Vertical step navigation (default: horizontal)
1010
- Removed `"use strict";` because of an ASP.Net tracing issue related to FF (see jQuery ticket: #13335)

Gruntfile.js

+3-31
Original file line numberDiff line numberDiff line change
@@ -35,35 +35,11 @@ module.exports = function (grunt)
3535
}
3636
}
3737
},
38-
compress: {
39-
main: {
40-
options: {
41-
archive: '<%= pkg.folders.dist %>/<%= pkg.name %>-<%= pkg.version %>.zip'
42-
},
43-
files: [
44-
{
45-
src: [
46-
'README.md',
47-
/*'changelog.txt',*/
48-
'<%= pkg.folders.src %>/**/*.*',
49-
'<%= pkg.folders.docs %>/**/*.*',
50-
'demo/**/*.*',
51-
'lib/*.*',
52-
'test/**/*.*'
53-
]
54-
},
55-
{
56-
flatten: true,
57-
src: ['<%= pkg.folders.dist %>/*.js'],
58-
filter: 'isFile'
59-
}
60-
]
61-
}
62-
},
6338
qunit: {
6439
files: ['test/index.html']
6540
},
6641
jshint: {
42+
files: ['<%= pkg.folders.dist %>/jquery.steps.js'],
6743
options: {
6844
curly: true,
6945
eqeqeq: true,
@@ -79,11 +55,8 @@ module.exports = function (grunt)
7955
jQuery: true,
8056
$: true,
8157
console: true
82-
}
58+
},
8359
},
84-
files: [
85-
'<%= pkg.folders.dist %>/jquery-steps.js'
86-
],
8760
test: {
8861
options: {
8962
globals: {
@@ -139,11 +112,10 @@ module.exports = function (grunt)
139112
grunt.loadNpmTasks('grunt-contrib-uglify');
140113
grunt.loadNpmTasks('grunt-contrib-concat');
141114
grunt.loadNpmTasks('grunt-contrib-yuidoc');
142-
grunt.loadNpmTasks('grunt-contrib-compress');
143115
grunt.loadNpmTasks('grunt-contrib-clean');
144116

145117
grunt.registerTask('default', ['build']);
146118
grunt.registerTask('api', ['clean:api', 'yuidoc']);
147119
grunt.registerTask('build', ['clean:build', 'concat', 'jshint', 'qunit']);
148-
grunt.registerTask('release', ['build', 'api', 'uglify', 'compress']);
120+
grunt.registerTask('release', ['build', 'api', 'uglify']);
149121
};

0 commit comments

Comments
 (0)