mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-13 01:13:08 +00:00
updating file list for the :package rake task
- removing angular-scenario.css (it's already inlined in the js) - adding angular-mocks.js
This commit is contained in:
parent
075bdf2316
commit
818b507d3c
1 changed files with 8 additions and 2 deletions
10
Rakefile
10
Rakefile
|
|
@ -93,11 +93,17 @@ task :package => :compile do
|
||||||
sha = %x(git rev-parse HEAD)[0..7]
|
sha = %x(git rev-parse HEAD)[0..7]
|
||||||
filename = "angular-#{date}-#{sha}.tgz"
|
filename = "angular-#{date}-#{sha}.tgz"
|
||||||
|
|
||||||
%x(tar -czf #{filename} \
|
%x(cp test/angular-mocks.js ./)
|
||||||
|
|
||||||
|
%x(tar -cf #{filename} \
|
||||||
angular-debug.js \
|
angular-debug.js \
|
||||||
angular-minified.js \
|
angular-minified.js \
|
||||||
angular-scenario.js \
|
angular-scenario.js \
|
||||||
css/)
|
angular-mocks.js \
|
||||||
|
css/angular.css \
|
||||||
|
css/angular_images/ )
|
||||||
|
|
||||||
|
%x( rm angular-mocks.js)
|
||||||
|
|
||||||
puts "Package created: #{filename}"
|
puts "Package created: #{filename}"
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue