Sha256: d9eaf8f1495b351d4fecc8e826a2bf7c065c1e2b96699342a6ad234b95805d01

Contents?: true

Size: 721 Bytes

Versions: 52

Compression:

Stored size: 721 Bytes

Contents

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

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

# Build folder (change if you change Gumdrop.config.output_dir)
OUTPUT="output/"

desc "Build source files into output_dir"
task :build do
  system("bundle exec gumdrop -b")
end

desc "Run development server"
task :serve do
  system("bundle exec gumdrop -s")
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
  puts `rake -T`
end

Version data entries

52 entries across 27 versions & 1 rubygems

Version Path
gumdrop-0.6.2 templates/backbone/Rakefile
gumdrop-0.6.1 templates/default/Rakefile
gumdrop-0.6.1 templates/backbone/Rakefile
gumdrop-0.6.0 templates/backbone/Rakefile
gumdrop-0.6.0 templates/default/Rakefile
gumdrop-0.5.2 templates/default/Rakefile
gumdrop-0.5.2 templates/backbone/Rakefile
gumdrop-0.5.1 templates/default/Rakefile
gumdrop-0.5.1 templates/backbone/Rakefile
gumdrop-0.5 templates/backbone/Rakefile
gumdrop-0.5 templates/default/Rakefile
gumdrop-0.4.0 lib/gumdrop/template/backbone/Rakefile
gumdrop-0.4.0 lib/gumdrop/template/default/Rakefile
gumdrop-0.3.10 lib/gumdrop/template/backbone/Rakefile
gumdrop-0.3.10 lib/gumdrop/template/default/Rakefile
gumdrop-0.3.9 lib/gumdrop/template/default/Rakefile
gumdrop-0.3.9 lib/gumdrop/template/backbone/Rakefile
gumdrop-0.3.8 lib/gumdrop/template/default/Rakefile
gumdrop-0.3.8 lib/gumdrop/template/backbone/Rakefile
gumdrop-0.3.7 lib/gumdrop/template/backbone/Rakefile