Sha256: 4e8958f5ae788f0669a1d109c119ed1b579ae4b02d160209eaa078cca9c04551

Contents?: true

Size: 664 Bytes

Versions: 23

Compression:

Stored size: 664 Bytes

Contents

require 'rubygems'
require "bundler/setup"
require 'gumdrop'

# For the SYNC task
USER='user'
SERVER='server.com'
FOLDER="~/#{SERVER}"


task :default  do
  sh 'rake -T'
end

desc "Build source files into output"
task :build do
  Gumdrop.run()
end


desc "Run development server"
task :serve do
  Gumdrop.config.auto_run= true
  Gumdrop::Server
end

desc "Syncs with public server using rsync (if configured)"
task :sync do
  cmd= "rsync -avz --delete output/ #{USER}@#{SERVER}:#{FOLDER}"
  puts "Running:\n#{cmd}\n"
  system(cmd)
  puts "Done."
end

desc "Outputs the Gumdrop version"
task :version do
  puts Gumdrop::VERSION
end

task :default do
  `rake -T`
end

Version data entries

23 entries across 22 versions & 1 rubygems

Version Path
gumdrop-0.4.0 examples/simple/Rakefile
gumdrop-0.3.10 examples/simple/Rakefile
gumdrop-0.3.9 examples/simple/Rakefile
gumdrop-0.3.8 examples/simple/Rakefile
gumdrop-0.3.7 examples/simple/Rakefile
gumdrop-0.3.6 examples/simple/Rakefile
gumdrop-0.3.5 examples/simple/Rakefile
gumdrop-0.3.4 examples/simple/Rakefile
gumdrop-0.3.3 examples/simple/Rakefile
gumdrop-0.3.2 examples/simple/Rakefile
gumdrop-0.3 examples/simple/Rakefile
gumdrop-0.2.16 examples/simple/Rakefile
gumdrop-0.2.15 examples/simple/Rakefile
gumdrop-0.2.14 examples/simple/Rakefile
gumdrop-0.2.13 examples/simple/Rakefile
gumdrop-0.2.12 examples/simple/Rakefile
gumdrop-0.2.11 examples/simple/Rakefile
gumdrop-0.2.10 examples/simple/Rakefile
gumdrop-0.2.9 examples/simple/Rakefile
gumdrop-0.2.8 examples/simple/Rakefile