Skip to content

Commit

Permalink
grunt tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
vankasteelj committed Dec 2, 2015
1 parent 054ab34 commit c7b4a96
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,26 +59,31 @@ module.exports = function(grunt) {
grunt.registerTask('dist', function () {
var start = parseBuildPlatforms();
if (start.win32) {
grunt.task.run('dist-win');
grunt.task.run('dist-win32');
} else if (start.osx64) {
grunt.task.run('dist-osx');
grunt.task.run('dist-osx64');
} else if (start.linux32) {
grunt.task.run('dist-linux');
grunt.task.run('dist-linux32');
} else if (start.linux64) {
grunt.task.run('dist-linux');
grunt.task.run('dist-linux64');
} else {
grunt.log.writeln('OS not supported.');
}
});
grunt.registerTask('dist-linux', [
grunt.registerTask('dist-linux32', [
'shell:packageLinux32',
'shell:packageDEBLinux32'
]);
grunt.registerTask('dist-linux64', [
'shell:packageLinux64',
'shell:packageDEBLinux32',
'shell:packageDEBLinux64'
]);
grunt.registerTask('dist-win', [
grunt.registerTask('dist-win32', [
'shell:packageWin32'
]);
grunt.registerTask('dist-osx64', [
'shell:packageOSX64'
]);

grunt.initConfig({
app_name: pkgJson.name,
Expand Down

0 comments on commit c7b4a96

Please sign in to comment.