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.2.7 examples/simple/Rakefile
gumdrop-0.2.4 lib/gumdrop/template/Rakefile
gumdrop-0.2.4 examples/simple/Rakefile