Sha256: 6cfbf29cff69a6e73894ddc5d758c905d824a3b2522d1e692ca6c5c50016774e

Contents?: true

Size: 353 Bytes

Versions: 20

Compression:

Stored size: 353 Bytes

Contents

desc 'devserver', 'Start a development server'

option :port, :aliases => '-p', :default => '3000'

def devserver
  invoke_cmd 'bundle_install'
  require 'geordi/util'

  announce 'Booting a development server'
  note "URL: http://#{File.basename(Dir.pwd)}.vcap.me:#{options.port}"
  puts

  Util.system! Util.server_command + " -p #{options.port}"
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
geordi-1.4.3 lib/geordi/commands/devserver.rb
geordi-1.4.2 lib/geordi/commands/devserver.rb
geordi-1.4.1 lib/geordi/commands/devserver.rb
geordi-1.4.0 lib/geordi/commands/devserver.rb
geordi-1.3.2 lib/geordi/commands/devserver.rb
geordi-1.3.1 lib/geordi/commands/devserver.rb
geordi-1.3.0 lib/geordi/commands/devserver.rb
geordi-1.2.3 lib/geordi/commands/devserver.rb
geordi-1.2.2 lib/geordi/commands/devserver.rb
geordi-1.2.1 lib/geordi/commands/devserver.rb
geordi-1.2.0 lib/geordi/commands/devserver.rb
geordi-1.1.4 lib/geordi/commands/devserver.rb
geordi-1.1.3 lib/geordi/commands/devserver.rb
geordi-1.1.2 lib/geordi/commands/devserver.rb
geordi-1.1.1 lib/geordi/commands/devserver.rb
geordi-1.1.0 lib/geordi/commands/devserver.rb
geordi-1.0.3 lib/geordi/commands/devserver.rb
geordi-1.0.2 lib/geordi/commands/devserver.rb
geordi-1.0.1 lib/geordi/commands/devserver.rb
geordi-1.0.0 lib/geordi/commands/devserver.rb