Work on deb and rpm packages, both seem to work now, #1476

This commit is contained in:
Torkel Ödegaard
2015-03-03 17:14:58 +01:00
parent 59da4a0b3b
commit 0db55b6194
10 changed files with 201 additions and 120 deletions

View File

@ -1,23 +1,5 @@
module.exports = function(config) {
return {
zip: {
options: {
archive: '<%= destDir %>/<%= pkg.name %>-latest.zip'
},
files : [
{
expand: true,
cwd: '<%= tempDir %>',
src: ['**/*'],
dest: '<%= pkg.name %>/',
},
{
expand: true,
dest: '<%= pkg.name %>/',
src: ['LICENSE.md', 'README.md', 'NOTICE.md'],
}
]
},
tgz: {
options: {
archive: '<%= destDir %>/<%= pkg.name %>-latest.tar.gz'
@ -36,27 +18,9 @@ module.exports = function(config) {
}
]
},
zip_release: {
options: {
archive: '<%= destDir %>/<%= pkg.name %>-<%= pkg.version %>.zip'
},
files : [
{
expand: true,
cwd: '<%= tempDir %>',
src: ['**/*'],
dest: '<%= pkg.name %>-<%= pkg.version %>/',
},
{
expand: true,
src: ['LICENSE.md', 'README.md', 'NOTICE.md'],
dest: '<%= pkg.name %>-<%= pkg.version %>/',
}
]
},
tgz_release: {
options: {
archive: '<%= destDir %>/<%= pkg.name %>-<%= pkg.version %>.tar.gz'
archive: '<%= destDir %>/<%= pkg.name %>-<%= pkg.version %>.<%= arch %>.tar.gz'
},
files : [
{