-
Notifications
You must be signed in to change notification settings - Fork 49
/
aliases
27 lines (26 loc) · 1.19 KB
/
aliases
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
alias migrate="rake db:migrate db:test:prepare"
alias remigrate="rake db:migrate && rake db:migrate:redo && rake db:schema:dump db:test:prepare"
alias remongrate="rake mongoid:migrate && rake mongoid:migrate:redo"
alias svnprecommit="git svn rebase && rake features && rake test"
alias hgprecommit="hg pull && rake features && rake test"
alias g="git"
alias tu="ruby_test unit"
alias tf="ruby_test functional"
alias s="bundle exec rspec"
alias cuc="bundle exec cucumber"
alias sm="ruby_spec models"
alias sc="ruby_spec controllers"
alias ti="ruby_test integration"
alias hgdi="hg diff --color=always --git | less -r"
alias hgrev="hg revert --no-backup"
alias hgclean="hg status | grep -e '^\\?' | sed 's/^\\?//' | xargs -t rm -f"
alias gi="gem install"
alias giv="gem install -v"
alias gci="git pull --rebase && rake && git push"
alias tlf="tail -f"
alias eydeploy="ey deploy -e \${\$(pwd):t}_staging"
alias eypending="git log \$(ey ssh \"cat /data/\${\$(pwd):t}/current/REVISION\" -e \${\$(pwd):t}_production)..origin/master"
alias hdeploy="git push staging master && heroku rake db:migrate --app \${\$(pwd):t}-staging"
alias hconsole="heroku console --app \${\$(pwd):t}-staging"
alias b="bundle"
alias be="bundle exec"