Sha256: 42c9540066347badcda585d25393dbc292bef9ad7b7735c6b0480c2d27fc42c3

Contents?: true

Size: 197 Bytes

Versions: 55

Compression:

Stored size: 197 Bytes

Contents

namespace :http do
  desc "Starts a simple HTTP server in port 8000:  rake http:s [folder]"
  task :s do
    folder = ARGV[1] ? ARGV[1] : '.'
    sh "ruby -run -e httpd #{folder} -p 8000"
  end
end

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
prun-ops-0.2.2 lib/tasks/http.rake
prun-ops-0.2.1 lib/tasks/http.rake
prun-ops-0.2.0 lib/tasks/http.rake
prun-ops-0.1.10 lib/tasks/http.rake
prun-ops-0.1.9 lib/tasks/http.rake
prun-ops-0.1.8 lib/tasks/http.rake
prun-ops-0.1.7 lib/tasks/http.rake
prun-ops-0.1.6 lib/tasks/http.rake
prun-ops-0.1.5 lib/tasks/http.rake
prun-ops-0.1.4 lib/tasks/http.rake
prun-ops-0.1.3 lib/tasks/http.rake
prun-ops-0.1.2 lib/tasks/http.rake
prun-ops-0.1.1 lib/tasks/http.rake
prun-ops-0.1.0 lib/tasks/http.rake
prun-ops-0.0.22 lib/tasks/http.rake
prun-ops-0.0.21 lib/tasks/http.rake
prun-ops-0.0.20 lib/tasks/http.rake
prun-ops-0.0.19 lib/tasks/http.rake
prun-ops-0.0.18 lib/tasks/http.rake
prun-ops-0.0.17 lib/tasks/http.rake