Don't update the docs version by default
This was leading to a lot of unnecessary churn in the config file since different YAML versions were serializing differently.
Paul O’Shannessy committed
Sep 18, 2013 at 10:40 UTC
208ebd35b7ac2b8efc649164699d7f91ee5ea5da
1 file changed
+3
-3
docs/Rakefile
+3
-3
@@ -13,7 +13,7 @@ task :js do
13
end
14
15
desc "watch css & js"
16
-task :watch => [:update_version] do
16
+task :watch do
17
Process.spawn "sass --style=compressed --watch _css/react.scss:css/react.css"
18
Process.spawn "../bin/jsx --watch _js js"
19
Process.waitall
@@ -30,8 +30,8 @@ task :update_version do
30
end
31
32
desc "build into ../../react-gh-pages"
33
-task :release => [:default] do
33
+task :release => [:update_version, :default] do
34
system "jekyll build -d ../../react-gh-pages"
35
end
36
37
-task :default => [:update_version, :css, :js]
37
+task :default => [:css, :js]