Skip to content
This repository has been archived by the owner on Mar 16, 2023. It is now read-only.

Commit

Permalink
Task for generating the MANIFEST file.
Browse files Browse the repository at this point in the history
Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
  • Loading branch information
Yorick Peterse committed Nov 12, 2012
1 parent 35e9cfd commit 28b6b4b
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 0 deletions.
79 changes: 79 additions & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
.gitignore
.rbenv-version
.yardopts
Gemfile
LICENSE
MANIFEST
README.md
Rakefile
bin/rlint
doc/.gitkeep
doc/build/.gitkeep
doc/css/.gitkeep
doc/css/common.css
lib/rlint.rb
lib/rlint/analyze/coding_style.rb
lib/rlint/analyze/definitions.rb
lib/rlint/analyze/method_validation.rb
lib/rlint/analyze/shadowing_variables.rb
lib/rlint/analyze/undefined_variables.rb
lib/rlint/analyze/unused_variables.rb
lib/rlint/callback.rb
lib/rlint/cli.rb
lib/rlint/constant_importer.rb
lib/rlint/definition.rb
lib/rlint/formatter/text.rb
lib/rlint/helper/definition_resolver.rb
lib/rlint/helper/scoping.rb
lib/rlint/iterator.rb
lib/rlint/options.rb
lib/rlint/parser.rb
lib/rlint/parser_error.rb
lib/rlint/report.rb
lib/rlint/token/assignment_token.rb
lib/rlint/token/begin_rescue_token.rb
lib/rlint/token/block_token.rb
lib/rlint/token/case_token.rb
lib/rlint/token/class_token.rb
lib/rlint/token/method_definition_token.rb
lib/rlint/token/method_token.rb
lib/rlint/token/parameters_token.rb
lib/rlint/token/regexp_token.rb
lib/rlint/token/statement_token.rb
lib/rlint/token/token.rb
lib/rlint/token/variable_token.rb
lib/rlint/version.rb
ruby-lint.gemspec
spec/benchmarks/memory.rb
spec/benchmarks/parse_parser.rb
spec/helper.rb
spec/rlint/analyze/coding_style.rb
spec/rlint/analyze/definitions/classes.rb
spec/rlint/analyze/definitions/methods.rb
spec/rlint/analyze/definitions/modules.rb
spec/rlint/analyze/definitions/variables.rb
spec/rlint/analyze/method_validation.rb
spec/rlint/analyze/shadowing_variables.rb
spec/rlint/analyze/undefined_variables.rb
spec/rlint/analyze/unused_variables.rb
spec/rlint/callback.rb
spec/rlint/constant_importer.rb
spec/rlint/definition.rb
spec/rlint/formatter/text.rb
spec/rlint/iterator.rb
spec/rlint/parser/arrays.rb
spec/rlint/parser/classes.rb
spec/rlint/parser/errors.rb
spec/rlint/parser/hashes.rb
spec/rlint/parser/methods.rb
spec/rlint/parser/modules.rb
spec/rlint/parser/objects.rb
spec/rlint/parser/operators.rb
spec/rlint/parser/procs.rb
spec/rlint/parser/ranges.rb
spec/rlint/parser/regexp.rb
spec/rlint/parser/scalars.rb
spec/rlint/parser/statements.rb
spec/rlint/parser/variables.rb
spec/rlint/report.rb
task/test.rake
1 change: 1 addition & 0 deletions ruby-lint.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Gem::Specification.new do |s|
s.summary = 'Static code analysis tool and linter for Ruby'
s.homepage = 'https://github.com/yorickpeterse/rlint/'
s.description = s.summary
s.executables = ['rlint']

s.files = File.read(File.expand_path('../MANIFEST', __FILE__)).split("\n")

Expand Down
8 changes: 8 additions & 0 deletions task/manifest.rake
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
desc 'Generates the MANIFEST file'
task :manifest do
files = `git ls-files`.split("\n").sort
handle = File.open(File.expand_path('../../MANIFEST', __FILE__), 'w')

handle.write(files.join("\n"))
handle.close
end

0 comments on commit 28b6b4b

Please sign in to comment.