From 412f05977c41fbda46278b637c4d1a84996d48d1 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Wed, 11 Aug 2010 11:17:55 -0700 Subject: removed google charts and few other filters, switched to simple optimization for compiler --- Rakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index bf37edce..de1f7527 100644 --- a/Rakefile +++ b/Rakefile @@ -1,4 +1,4 @@ -include FileUtils + include FileUtils task :default => [:compile, :test] @@ -91,7 +91,7 @@ task :compile do f.close %x(java -jar lib/compiler-closure/compiler.jar \ - --compilation_level ADVANCED_OPTIMIZATIONS \ + --compilation_level SIMPLE_OPTIMIZATIONS \ --js angular-debug.js \ --externs externs.js \ --create_source_map ./angular-minified.map \ -- cgit v1.2.3 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