Logo: Relish

  1. Sign in

Project: Daemon-kit

Generating a new daemon

daemon-kit offers an application generator to get you started.

Scenarios
Generator offers help when no arguments are provided
When
I run daemon-kit
Then
the output should contain:
Usage:
  daemon-kit app APP_PATH
Generator offers help when asked
When
I run daemon-kit --help
Then
the output should contain:
Usage:
  daemon-kit app APP_PATH
Generating a default daemon
When
I run daemon-kit vuvuzela
And
I cd to "vuvuzela"
Then
the following files should exist:
Gemfile
README
Rakefile
bin/vuvuzela
config/arguments.rb
config/boot.rb
config/environments/development.rb
config/environments/test.rb
config/environments/production.rb
config/pre-daemonize/readme
config/post-daemonize/readme
lib/vuvuzela.rb
libexec/vuvuzela-daemon.rb
script/console
script/destroy
script/generate
spec/spec_helper.rb
And
the following directories should exist:
log
tasks
vendor
tmp
Generating an 'edge' daemon
When
I run daemon-kit vuvuzela --edge
And
I cd to "vuvuzela"
Then
the Gemfile should point to edge daemon-kit

Last published about 5 years ago by Kenneth Kalmer.