mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-27 11:40:27 +00:00
chore(Rakefile): zip only the build dir
This commit is contained in:
parent
0e1545eb04
commit
dc3d11ad19
1 changed files with 1 additions and 1 deletions
2
Rakefile
2
Rakefile
|
|
@ -155,7 +155,7 @@ task :package => [:clean, :minify, :docs] do
|
|||
zip_file = "#{zip_dir}.zip"
|
||||
|
||||
FileUtils.ln_s BUILD_DIR, zip_dir
|
||||
%x(zip -r #{zip_file} .)
|
||||
%x(zip -r #{zip_file} #{zip_dir})
|
||||
FileUtils.rm zip_dir
|
||||
|
||||
FileUtils.mv zip_file, path_to(zip_file)
|
||||
|
|
|
|||
Loading…
Reference in a new issue