Skip to content

Commit

Permalink
Merge pull request #5 from laurendorman/laurendorman-patch-1
Browse files Browse the repository at this point in the history
feat: update macos script for macos 10.14 (mojave)
  • Loading branch information
laurendorman authored Feb 22, 2019
2 parents 9e7b1b2 + 71affac commit 4e4ff2d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 18 deletions.
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
komputer maschine
======

komputer maschine is a shell script that gets your machine ready for design and development.
komputer maschine is a shell script that gets your machine ready for development.

This script can be ran once or as many times as you'd like. It installs everything that macOS needs to get to work.

## Requirements

* A komputer maschine
* macOS (>10)
* macOS (>10.14)

## Install

Expand Down Expand Up @@ -49,12 +49,8 @@ sh macos 2>&1 | tee ~/komputer-maschine.log
* [Google Chrome](https://www.google.com/chrome/) for browsing the web.
* [Firefox](https://www.mozilla.org/en-US/firefox/new/) for browsing the web also, but mostly for testing. :)
* [iTerm2](https://www.iterm2.com/) for a better terminal.
* [Vagrant](https://www.vagrantup.com/) for creating and configuring development environments.
* [VirtualBox](https://www.virtualbox.org/) for guest operating systems, when needed.
* [Atom](http://atom.io) as a text editor.
* [VS Code](https://code.visualstudio.com/) as a text editor.
* [The Unarchiver](http://unarchiver.c3.cx/unarchiver) for extracting archives that are not supported by macOS out of the box.
* [Sketch](https://www.sketchapp.com/) for design.
* [Dash](https://kapeli.com/dash) for browsing documentation and storing code snippets.
* [Slack](https://slack.com/) for more team communication and less email.
* [Docker](https://www.docker.com/) for buliding, shipping and running applications.
* [Spotify](https://www.spotify.com/us/) for music.
Expand All @@ -72,7 +68,7 @@ Cask does not recognize applications installed outside of Homebrew Cask – in t

## License

komputer maschine is © 2016 by Lauren Dorman and is protected under the [MIT License].
komputer maschine is © 2016-Present by Lauren Dorman and is protected under the [MIT License].

[MIT License]: LICENSE

Expand Down
14 changes: 4 additions & 10 deletions macos
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ if [ ! -d "/usr/local" ]; then
sudo mkdir /usr/local
fi

sudo chown -R $(whoami) /usr/local

HOMEBREW_PREFIX="/usr/local"

if [ -d "$HOMEBREW_PREFIX" ]; then
Expand Down Expand Up @@ -127,15 +125,12 @@ fi
applications=(
alfred
caffeine
1password
google-chrome
firefox
iterm2
vagrant
virtualbox
atom
visual-studio-code
the-unarchiver
sketch
dash
slack
docker
spotify
Expand All @@ -159,7 +154,6 @@ done
# Clean up Homebrew files
komputer_echo "Cleaning up files..."
brew cleanup
brew cask cleanup

komputer_echo "Configuring Ruby..."

Expand All @@ -173,7 +167,7 @@ append_to_zshrc 'eval "$(rbenv init - --no-rehash)"' 1
eval "$(rbenv init -)"

if ! rbenv versions | grep -Fq "$ruby_version"; then
RUBY_CONFIGURE_OPTS=--with-openssl-dir=/usr/local/opt/openssl rbenv install -s "$ruby_version"
RUBY_CONFIGURE_OPTS=--with-openssl-dir=/usr/local/opt/openssl rbenv install -s "$ruby_version";
fi

rbenv global "$ruby_version"
Expand All @@ -183,4 +177,4 @@ gem_install_or_update 'bundler'
number_of_cores=$(sysctl -n hw.ncpu)
bundle config --global jobs $((number_of_cores - 1))

komputer_echo "Congratulations! Your komputer maschine is ready to go."
komputer_echo "Congratulations! Your komputer maschine is ready to go."

0 comments on commit 4e4ff2d

Please sign in to comment.