diff --git a/lib/foundationCLI.js b/lib/foundationCLI.js index 4e4ef88..959a213 100644 --- a/lib/foundationCLI.js +++ b/lib/foundationCLI.js @@ -9,8 +9,10 @@ var yeti = require('./yeti'); var bower = require('bower'); var isRoot = require('is-root'); var pkg = require('../package.json'); -var npm = process.platform === 'win32' ? 'npm.cmd' : 'npm'; -var bower = process.platform === 'win32' ? 'bower.cmd' : 'bower'; + +var npm = process.platform === 'win32' ? 'npm.cmd' : 'npm'; +var bower = process.platform === 'win32' ? 'bower.cmd' : 'bower'; +var bundle = process.platform === 'win32' ? 'bundle.bat' : 'bundle'; // HELP // List all available commands, or info for a specific command @@ -94,7 +96,7 @@ module.exports.new = function(args, options) { var gitClone = ['git', 'clone', 'https://github.com/zurb/foundation-apps-template.git', args[0]]; var npmInstall = [npm, 'install']; var bowerInstall = [bower, 'install']; - var bundleInstall = ['bundle']; + var bundleInstall = [bundle]; if (isRoot()) bowerInstall.push('--allow-root'); // Show help screen if the user didn't enter a project name