From b422d528feafca7044f2f82b69bd580e92dbe0fa Mon Sep 17 00:00:00 2001 From: jowj Date: Sat, 14 Jul 2018 19:57:20 -0500 Subject: [PATCH] Start adding content to macDeploy scripts. This is Not Working yet. --- .../macDeploy/deploy-MacWorkstation.py | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 deployments/macDeploy/deploy-MacWorkstation.py diff --git a/deployments/macDeploy/deploy-MacWorkstation.py b/deployments/macDeploy/deploy-MacWorkstation.py new file mode 100644 index 0000000..4feae21 --- /dev/null +++ b/deployments/macDeploy/deploy-MacWorkstation.py @@ -0,0 +1,39 @@ +import os +import sys +import argparse +import subprocess +import pdb + +# brew cask install powershell +# Install brew if we don't have it + +installBrew = [ + """ if test ! $(which brew); then + echo "Installing homebrew..." + ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" + fi """ +] + +subprocess.run(installBrew) +subprocess.run('brew update') +subprocess.run('brew tap caskroom/cask') + +macPrograms = [ + "powershell", + "git", + "vscode", + "emacs64", + "python2", + "python3", + "docker", + "slack", + "discord", + "keybase", + "spotify", + "1password", + "firefox", + "dropbox", + "conemu", + "virtualbox" +] +subprocess.run('brew install ' + macPrograms) \ No newline at end of file