gumdrop 0.7.5 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,38 +0,0 @@
1
- require 'rubygems'
2
- require "bundler/setup"
3
- require 'gumdrop'
4
-
5
- # For the SYNC task
6
- USER='user'
7
- SERVER='server.com'
8
- FOLDER="~/#{SERVER}"
9
-
10
- site= Gumdrop::Site.new "./Gumdrop"
11
- OUTPUT=site.config.output_dir
12
-
13
- desc "Build source files into output_dir"
14
- task :build do
15
- system("bundle exec gumdrop -b")
16
- end
17
-
18
- desc "Run development server"
19
- task :serve do
20
- system("bundle exec gumdrop -s")
21
- end
22
-
23
- desc "Syncs with public server using rsync (if configured)"
24
- task :sync do
25
- cmd= "rsync -avz --delete #{OUTPUT} #{USER}@#{SERVER}:#{FOLDER}"
26
- puts "Running:\n#{cmd}\n"
27
- system(cmd)
28
- puts "Done."
29
- end
30
-
31
- desc "Outputs the Gumdrop version"
32
- task :version do
33
- puts Gumdrop::VERSION
34
- end
35
-
36
- task :default do
37
- puts `rake -T`
38
- end