aboutsummaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorIgor Minar2010-08-16 10:56:03 -0700
committerIgor Minar2010-08-16 10:56:03 -0700
commit59401b80ee36d56f7ede551669633abbc6dd1e24 (patch)
tree113669e99faae192d0bb89adc4f74db6f22fefd0 /Rakefile
parent9899959d695a97ddbb3e9a626a769efa714bffe7 (diff)
parentf09415d0de5d383efc9e2cb35d1323a5aac2371d (diff)
downloadangular.js-59401b80ee36d56f7ede551669633abbc6dd1e24.tar.bz2
Merge remote branch 'upstream/master'
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index bf37edce..c4e53987 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 \
@@ -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