chore(build-system): fix release tasks

pull/452/head
Anthony Lapenna 2017-01-03 07:47:12 +13:00
parent 0bacaef71a
commit 816c1ea448
1 changed files with 5 additions and 5 deletions

View File

@ -30,7 +30,7 @@ module.exports = function (grunt) {
'clean:tmp' 'clean:tmp'
]); ]);
grunt.registerTask('release', [ grunt.registerTask('release', [
'clean:app', 'clean:all',
'if:unixBinaryNotExist', 'if:unixBinaryNotExist',
'html2js', 'html2js',
'useminPrepare:release', 'useminPrepare:release',
@ -45,7 +45,7 @@ module.exports = function (grunt) {
'clean:tmp' 'clean:tmp'
]); ]);
grunt.registerTask('release-win', [ grunt.registerTask('release-win', [
'clean:app', 'clean:all',
'if:windowsBinaryNotExist', 'if:windowsBinaryNotExist',
'html2js', 'html2js',
'useminPrepare', 'useminPrepare',
@ -60,7 +60,7 @@ module.exports = function (grunt) {
'clean:tmp' 'clean:tmp'
]); ]);
grunt.registerTask('release-arm', [ grunt.registerTask('release-arm', [
'clean:app', 'clean:all',
'if:unixArmBinaryNotExist', 'if:unixArmBinaryNotExist',
'html2js', 'html2js',
'useminPrepare', 'useminPrepare',
@ -75,7 +75,7 @@ module.exports = function (grunt) {
'clean:tmp' 'clean:tmp'
]); ]);
grunt.registerTask('release-arm64', [ grunt.registerTask('release-arm64', [
'clean:app', 'clean:all',
'if:unixArm64BinaryNotExist', 'if:unixArm64BinaryNotExist',
'html2js', 'html2js',
'useminPrepare', 'useminPrepare',
@ -90,7 +90,7 @@ module.exports = function (grunt) {
'clean:tmp' 'clean:tmp'
]); ]);
grunt.registerTask('release-macos', [ grunt.registerTask('release-macos', [
'clean:app', 'clean:all',
'if:darwinBinaryNotExist', 'if:darwinBinaryNotExist',
'html2js', 'html2js',
'useminPrepare', 'useminPrepare',