This file contains 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 | |
# set crontab such as: | |
# 30 6 * * * /bin/sh /path/to/mail_daily_commit_logs.sh | |
TO='[email protected]' | |
FROM='[email protected]' | |
REPO_PATH='/path/to/rails/' | |
cd $REPO_PATH | |
/usr/local/bin/git pull |
This file contains 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
class Setup < Thor | |
include Thor::Actions | |
APP_ROOT = File.dirname(__FILE__) + "../../../".freeze | |
PLUGINS = [:rspec, :cucumber, :simple_form, :devise].freeze | |
SUCCESS_NOTICE = <<-SUCCESS_TEXT | |
Successful install [[[Name]]]. | |
SUCCESS_TEXT |