We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 579b5c6 commit 911bd15Copy full SHA for 911bd15
Rakefile
@@ -3,16 +3,21 @@ SETTINGS = {
3
:rsync_options => '-e ssh -avz --delete --exclude=.git'
4
}
5
6
+verbose(true)
7
+
8
task :default => :test
9
-desc 'Publish to server (edit Rakefile to config)'
10
+desc 'Publish "marketing" docs'
11
task :publish do
- cmd = "rsync #{SETTINGS[:rsync_options]} ./ #{SETTINGS[:rsync_server]}"
- puts "\nSyncing with server: #{cmd}\n\n"
12
- system(cmd)
+ sh("git rebase master gh-pages")
13
+ sh("git checkout master")
14
+ sh("git push")
15
+ sh("git push --tags")
16
17
+ sh("rsync #{SETTINGS[:rsync_options]} ./ #{SETTINGS[:rsync_server]}")
18
end
19
20
desc 'Open your default browser with the test page'
21
task :test do
- system("open test.html")
22
+ sh("open test.html")
23
0 commit comments