From 91104f878debd0cd86ba62fed2f30be433200690 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Sat, 14 Aug 2010 11:03:36 -0700 Subject: add ftp script to auto deploy to angularjs.org --- Rakefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Rakefile') 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 -- cgit v1.2.3