Skip to content

Commit

Permalink
Create Brewfile and uses on setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
pietrocaselani committed Apr 17, 2019
1 parent 000e2cc commit 2adfe57
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
6 changes: 6 additions & 0 deletions Brewfile
@@ -0,0 +1,6 @@
tap 'blender/homebrew-tap'
brew 'rome'
brew 'swiftlint'
brew 'sonar-scanner'
brew 'tailor'
brew 'swiftformat'
11 changes: 6 additions & 5 deletions setup.sh
@@ -1,16 +1,17 @@
#!/bin/bash

function clone_dependency() {
echo "Cloning $1"
git clone https://github.com/pietrocaselani/$1.git vendor/$1
if [ ! -d "vendor/$1" ]; then
echo "Cloning $1"
git clone "https://github.com/pietrocaselani/${1}.git" "vendor/$1"
fi
}

brew install sonar-scanner
brew install tailor
brew install swiftformat
brew bundle
sudo pip install lizard
bundle install --path vendor/bundle
bundle exec pod repo update

clone_dependency "Trakt-Swift"
clone_dependency "TMDB-Swift"
clone_dependency "TVDB-Swift"

0 comments on commit 2adfe57

Please sign in to comment.