Skip to content

Commit

Permalink
once more, with feeling
Browse files Browse the repository at this point in the history
  • Loading branch information
atomantic committed May 25, 2016
1 parent bde6b27 commit b6cc023
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 2 additions & 6 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ const command = require('./lib_node/command')
// }

const installPackages = function(type){
console.info('installing '+type, emoji.get('coffee'))
console.info(emoji.get('coffee'), 'installing '+type+'s')
config[type].map(function(item){
console.info(type+'install', item);
console.info(type+':', item);
command('. lib_sh/echos.sh && . lib_sh/requirers.sh && require_'+type+' ' + item, __dirname, function(err, out) {
if(err) console.error(emoji.get('fire'), err)
});
Expand All @@ -31,8 +31,4 @@ installPackages('cask');
installPackages('npm');
installPackages('gem');

console.info('Alright, cleaning up homebrew cache...')
command('brew cleanup > /dev/null 2>&1', __dirname, function(){})
console.info('all clean')

// });
3 changes: 3 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,9 @@ bot "installing packages from config.js..."
node index.js
ok

running "cleanup homebrew"
brew cleanup > /dev/null 2>&1
ok

###############################################################################
bot "Configuring General System UI/UX..."
Expand Down

0 comments on commit b6cc023

Please sign in to comment.