Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Fix mkdir on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bbondy committed May 12, 2016
1 parent 283eb1c commit 4373b8d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
"jsonfile": "^2.2.3",
"less": "^2.5.3",
"less-loader": "^2.2.1",
"mkdirp": "^0.5.1",
"mocha": "^2.3.4",
"ncp": "^2.0.0",
"node-gyp": "^3.2.1",
Expand Down
2 changes: 1 addition & 1 deletion tools/buildPackage.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,6 @@ if (isLinux) {
cmds.push('ncp ./app/extensions ' + path.join(buildDir, 'resources', 'extensions'))
}

cmds.push('mkdir -p ' + path.join(buildDir, 'resources', 'app.asar.unpacked', 'node_modules', 'spellchecker', 'vendor', 'hunspell_dictionaries'))
cmds.push('mkdirp ' + path.join(buildDir, 'resources', 'app.asar.unpacked', 'node_modules', 'spellchecker', 'vendor', 'hunspell_dictionaries'))
cmds.push('ncp ' + path.join('node_modules', 'spellchecker', 'vendor', 'hunspell_dictionaries') + ' ' + path.join(buildDir, 'resources', 'app.asar.unpacked', 'node_modules', 'spellchecker', 'vendor', 'hunspell_dictionaries'))
execute(cmds, env, console.log.bind(null, 'done'))
1 change: 1 addition & 0 deletions tools/lib/ignoredPaths.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ module.exports = [
'electron-builder',
'electron-prebuilt',
'electron-rebuild',
'mkdirp',
'babel$',
'babel-(?!polyfill|regenerator-runtime)'
]

0 comments on commit 4373b8d

Please sign in to comment.