| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- module.exports = function(config) {
- return {
- zip: {
- options: {
- archive: '<%= tempDir %>/<%= pkg.name %>-latest.zip'
- },
- files : [
- {
- expand: true,
- cwd: '<%= destDir %>',
- src: ['**/*'],
- },
- {
- expand: true,
- src: ['LICENSE.md', 'README.md', 'NOTICE.md'],
- }
- ]
- },
- tgz: {
- options: {
- archive: '<%= tempDir %>/<%= pkg.name %>-latest.tar.gz'
- },
- files : [
- {
- expand: true,
- cwd: '<%= destDir %>',
- src: ['**/*'],
- },
- {
- expand: true,
- src: ['LICENSE.md', 'README.md', 'NOTICE.md'],
- }
- ]
- },
- zip_release: {
- options: {
- archive: '<%= tempDir %>/<%= pkg.name %>-<%= pkg.version %>.zip'
- },
- files : [
- {
- expand: true,
- cwd: '<%= destDir %>',
- src: ['**/*'],
- },
- {
- expand: true,
- src: ['LICENSE.md', 'README.md', 'NOTICE.md'],
- }
- ]
- },
- tgz_release: {
- options: {
- archive: '<%= tempDir %>/<%= pkg.name %>-<%= pkg.version %>.tar.gz'
- },
- files : [
- {
- expand: true,
- cwd: '<%= destDir %>',
- src: ['**/*'],
- },
- {
- expand: true,
- src: ['LICENSE.md', 'README.md', 'NOTICE.md'],
- }
- ]
- }
- };
- };
|