Skip to content

Commit

Permalink
Add check dep to Blaze
Browse files Browse the repository at this point in the history
  • Loading branch information
Sashko Stubailo committed Jul 30, 2015
1 parent 8c92c55 commit 8918467
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/blaze/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Package.onUse(function (api) {
api.export(['Blaze', 'UI', 'Handlebars']);
api.use('jquery'); // should be a weak dep, by having multiple "DOM backends"
api.use('tracker');
api.use('check');
api.use('underscore'); // only the subset in microscore.js
api.use('htmljs');
api.imply('htmljs');
Expand Down
4 changes: 2 additions & 2 deletions scripts/admin/check-package-dependencies.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

Dir.chdir(root)

file_list = `git grep -l '#{ARGV[0]}' packages/`.lines
file_list = `git grep -lw '#{ARGV[0]}' packages/`.lines
package_list = file_list.map do |filename|
filename.split("/")[1]
end
Expand All @@ -20,7 +20,7 @@
package_list.each do |p|
unless File.open("packages/#{p}/package.js").read.include? ARGV[1]
puts "'#{ARGV[0]}' appears in #{p} but '#{ARGV[1]}' not in package.js. Files:"
puts `git grep -l '#{ARGV[0]}' packages/#{p}/`
puts `git grep '#{ARGV[0]}' packages/#{p}/`
puts ""
end
end

0 comments on commit 8918467

Please sign in to comment.