Skip to content

Commit

Permalink
Merge pull request react-bootstrap#492 from AlexKVal/rimraf
Browse files Browse the repository at this point in the history
  • Loading branch information
mtscout6 committed Apr 8, 2015
2 parents 2f0ba3e + 262868f commit ee562c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/dist/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const dist = path.join(repoRoot, 'dist');
export default function BuildDistributable() {
console.log('Building: '.cyan + 'distributable'.green);

return exec(`rm -rf ${dist}`)
return exec(`rimraf ${dist}`)
.then(() => Promise.all([
exec('webpack --bail'),
exec('webpack --bail -p')
Expand Down
2 changes: 1 addition & 1 deletion tools/lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const src = path.join(repoRoot, 'src');
export default function BuildCommonJs() {
console.log('Building: '.cyan + 'npm module'.green);

return exec(`rm -rf ${lib}`)
return exec(`rimraf ${lib}`)
.then(() => exec(`babel --optional es7.objectRestSpread ${src} --out-dir ${lib}`))
.then(() => console.log('Built: '.cyan + 'npm module'.green));
}

0 comments on commit ee562c8

Please sign in to comment.