aboutsummaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorMisko Hevery2010-08-14 11:03:36 -0700
committerMisko Hevery2010-08-14 11:03:36 -0700
commit91104f878debd0cd86ba62fed2f30be433200690 (patch)
tree5378f0fcf9839e27a671a538ba5106a0411e6a10 /Rakefile
parent26b5ae410970aab022452b5f0aa7f01a3963623a (diff)
downloadangular.js-91104f878debd0cd86ba62fed2f30be433200690.tar.bz2
add ftp script to auto deploy to angularjs.org
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index de1f7527..c4e53987 100644
--- a/Rakefile
+++ b/Rakefile
@@ -120,3 +120,9 @@ task :lint do
out = %x(lib/jsl/jsl -conf lib/jsl/jsl.default.conf)
print out
end
+
+desc 'push_angularajs'
+task :push_angularjs do
+ Rake::Task['compile'].execute 0
+ sh %(cat angularjs.ftp | ftp -N angularjs.netrc angularjs.org)
+end