Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn on warnings via VERBOSE env #2019

Merged
merged 2 commits into from
Jan 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/LexerDevelopment.md
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,8 @@ The spec and the demo can be run using the `rake` command. You can run this by
typing `bundle exec rake` at the command line. If everything works, you should
see a series of dots. If you have an error, this will appear here, too.

You can also run `bundle exec rake VERBOSE=1` to see all warnings.

To see your visual sample, launch Rouge's visual test app by running
`bundle exec rackup`. You can choose your sample from the complete list by going
to <http://localhost:9292>.
Expand Down
2 changes: 1 addition & 1 deletion tasks/check/specs.rake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ namespace :check do
Rake::TestTask.new(:specs) do |t|
t.libs << "lib"
t.ruby_opts << "-r./spec/spec_helper"
t.warning = !!$VERBOSE
t.warning = $VERBOSE || ENV["VERBOSE"]
t.pattern = FileList['spec/**/*_spec.rb']
end
end