Skip to content

Commit 86a813c

Browse files
committed
Replacing lib name with pck.name variable
1 parent 04991b8 commit 86a813c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Gruntfile.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ module.exports = function(grunt) {
3939
options: {
4040
banner: '<%= meta.banner %>'
4141
},
42-
src: 'src/sly.js',
43-
dest: 'dist/sly.js'
42+
src: 'src/<%= pkg.name %>.js',
43+
dest: 'dist/<%= pkg.name %>.js'
4444
}
4545
},
4646

@@ -50,8 +50,8 @@ module.exports = function(grunt) {
5050
options: {
5151
banner: '<%= meta.bannerLight %>'
5252
},
53-
src: 'src/sly.js',
54-
dest: 'dist/sly.min.js'
53+
src: 'src/<%= pkg.name %>.js',
54+
dest: 'dist/<%= pkg.name %>.min.js'
5555
}
5656
},
5757

@@ -61,13 +61,13 @@ module.exports = function(grunt) {
6161
options: {
6262
mode: 'gzip'
6363
},
64-
src: 'dist/sly.min.js',
65-
dest: 'dist/sly.min.js.gz'
64+
src: 'dist/<%= pkg.name %>.min.js',
65+
dest: 'dist/<%= pkg.name %>.min.js.gz'
6666
}
6767
},
6868

6969
// Bump up fields in JSON files.
70-
bumpup: ['component.json', 'sly.jquery.json'],
70+
bumpup: ['component.json', '<%= pkg.name %>.jquery.json'],
7171

7272
// Commit changes and tag the latest commit with a version from JSON file.
7373
tagrelease: ['component.json']

0 commit comments

Comments
 (0)