Rakefile in soywiki-0.2.2 vs Rakefile in soywiki-0.2.3
- old
+ new
@@ -30,14 +30,15 @@
desc "build and push website"
task :web => :build_webpage do
puts "Building and pushing website"
`scp website/soywiki.html zoe2@instantwatcher.com:~/danielchoi.com/public/software/`
+ `open http://danielchoi.com/software/soywiki.html`
end
desc "build website locally"
-task :weblocal => :build_webpage do
+task :build_web_locally => :build_webpage do
Dir.chdir("website") do
`open soywiki.html`
end
end
@@ -48,9 +49,10 @@
Dir.chdir("website") do
html = Webpage.generate(Soywiki::VERSION)
File.open('soywiki.html', 'w') {|f| f.puts html}
end
end
+
desc "Run tests"
task :test do
$:.unshift File.expand_path("test")
MiniTest::Unit.autorun