2012-09-27 02:51:16 -07:00
|
|
|
# Some aliases for zeus. (See: https://github.com/burke/zeus)
|
|
|
|
# Zeus preloads your Rails environment and forks that process whenever
|
|
|
|
# needed. This effectively speeds up Rails' boot process to under 1 sec.
|
|
|
|
|
|
|
|
# Always use bundler.
|
|
|
|
# Rails depends on bundler, so we can be pretty sure, that there are no
|
|
|
|
# problems with this command. For all the other aliases I provided an
|
|
|
|
# alternative, in case people have conflicts with other plugins (e.g. suse).
|
|
|
|
alias zeus='bundle exec zeus'
|
|
|
|
|
|
|
|
# Init
|
|
|
|
alias zi='zeus init'
|
|
|
|
alias zinit='zeus init'
|
|
|
|
|
|
|
|
# Start
|
|
|
|
alias zs='zeus start'
|
|
|
|
alias ztart='zeus start'
|
|
|
|
|
|
|
|
# Console
|
|
|
|
alias zc='zeus console'
|
|
|
|
alias zonsole='zeus console'
|
|
|
|
|
|
|
|
# Server
|
|
|
|
alias zsr='zeus server'
|
|
|
|
alias zerver='zeus server'
|
|
|
|
|
|
|
|
# Rake
|
|
|
|
alias zr='zeus rake'
|
|
|
|
alias zake='zeus rake'
|
|
|
|
|
|
|
|
# Generate
|
|
|
|
alias zg='zeus generate'
|
|
|
|
alias zenerate='zeus generate'
|
|
|
|
|
|
|
|
# Runner
|
|
|
|
alias zrn='zeus runner'
|
|
|
|
alias zunner='zeus runner'
|
|
|
|
|
|
|
|
# Cucumber
|
|
|
|
alias zcu='zeus cucumber'
|
|
|
|
alias zucumber='zeus cucumber'
|
|
|
|
|
|
|
|
# Test
|
|
|
|
alias zt='zeus test'
|
|
|
|
alias zest='zeus test'
|
|
|
|
|
2012-10-02 09:10:40 -07:00
|
|
|
alias zu='zeus test test/unit/*'
|
|
|
|
alias zunits='zeus test test/unit/*'
|
2012-09-27 02:51:16 -07:00
|
|
|
|
2012-10-02 09:10:40 -07:00
|
|
|
alias zf='zeus test test/functional/*'
|
|
|
|
alias zunctional='zeus test test/functional/*'
|
2012-09-27 02:51:16 -07:00
|
|
|
|
2012-10-01 07:24:50 -07:00
|
|
|
alias za='zeus test test/unit/*; zeus test test/functional/; zeus cucumber'
|
|
|
|
alias zall='zeus test test/unit/*; zeus test test/functional/; zeus cucumber'
|
2012-09-27 02:51:16 -07:00
|
|
|
|
|
|
|
# Clean up crashed zeus instances.
|
|
|
|
alias zsw='rm .zeus.sock'
|
|
|
|
alias zweep='rm .zeus.sock'
|