public
Description: bash scripts, aliases, other misc things go here
Homepage: http://opensource.thinkrelevance.com
Clone URL: git://github.com/relevance/etc.git
rsanheim (author)
Sat Jul 04 21:59:44 -0700 2009
commit  7f8655e40983236b16afeccb81221cfd2113116f
tree    dbbab7688ef88f6ea1fa8524483a47251899f453
parent  588e2728abe5e7e8bbd58acb2017fa0664b893ec
etc / bash / rails.sh
100644 29 lines (24 sloc) 0.851 kb
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
27
28
29
# ruby shortcuts
alias sc='script/console'
alias scprod='script/console production'
alias ss='script/server'
alias sg='script/generate'
alias sdb='script/dbconsole'
 
# testing shortcuts
alias rt='rake --trace'
alias rtf='rake test:functionals --trace'
alias rti='rake test:integration --trace'
alias rtl='rake test:lib --trace'
alias rtp='rake test:plugins --trace'
alias rtu='rake test:units --trace'
 
alias rrcov='rake coverage:all:test'
alias rrrcovall='rake test:coverage:all:test'
 
alias rdm='rake db:migrate'
alias rdtp='rake db:test:prepare'
alias rdfl='rake db:fixtures:load'
alias rdr='rake db:rollback'
alias rroutes='rake routes'
alias mroutes='rroutes | mate'
alias rmate='mate *.rb *.yml Rakefile README* *.markdown app bin config doc examples db lib public script spec test stories features'
# capistrano
alias csd='cap staging deploy'