Permalink
Browse files

Disabled dockerize and publish grunt tasks on darwin platform.

  • Loading branch information...
marcominetti committed Oct 15, 2015
1 parent e9fc401 commit ec0fd159f79fbfbacc8bf69a597dd39c02739264
Showing with 4 additions and 4 deletions.
  1. +4 −4 gruntfile.js
View
@@ -2,7 +2,7 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-available-tasks');
grunt.loadNpmTasks('grunt-shell');
if (process.platform !== 'win32') {
if (process.platform === 'linux') {
grunt.loadNpmTasks('grunt-release');
grunt.loadNpmTasks('grunt-replace');
}
@@ -13,7 +13,7 @@ module.exports = function(grunt) {
'build'
];
if (process.platform !== 'win32') {
if (process.platform === 'linux') {
tasks.push('dockerize');
tasks.push('publish');
}
@@ -151,7 +151,7 @@ module.exports = function(grunt) {
});
grunt.registerTask('default', ['availabletasks']);
if (process.platform !== 'win32') {
if (process.platform === 'linux') {
grunt.registerTask('publish', [
'clean',
'build',
@@ -178,7 +178,7 @@ module.exports = function(grunt) {
'shell:distcluster'
]);
if (process.platform !== 'win32') {
if (process.platform === 'linux') {
grunt.registerTask('dockerize', [
'shell:dockerinit',
'replace:dockerfile',

0 comments on commit ec0fd15

Please sign in to comment.