This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| read -p "Have you set up FileVault on both accounts? <y/N> " prompt | |
| if ! [[ $prompt =~ [yY](es)* ]] | |
| then | |
| echo "Come back when you have!" | |
| exit 2 | |
| read -p "Have you installed all App Store apps? <y/N> " prompt | |
| if ! [[ $prompt =~ [yY](es)* ]] | |
| then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Prepare ################################################################### | |
| # Remove RVM | |
| rvm implode | |
| # Ensure your homebrew is working properly and up to date | |
| brew update | |
| brew doctor | |
| ## Install ################################################################### |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace :ci do | |
| desc "Set the environment to Test" | |
| task :set_env do | |
| RAILS_ENV = ENV['RAILS_ENV'] = 'test' | |
| end | |
| task :configure_database => ['db:drop', 'db:create', 'db:schema:load'] do | |
| end | |
| desc "Run all required tasks to perform our build" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ################################################## | |
| ### This goes in your .bashrc or .bash_profile or whatever | |
| ### | |
| ### RVM-specific command line (PS1): show current rvm and gemset, git branch (if any) | |
| ### and put "(svn)" before folder name if in svn folder | |
| ### | |
| ### You may need to manually create the __git_ps1 function here: | |
| ### http://effectif.com/git/config | |
| function __git_dirty { |