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

Use HEAD of kpeg #827

Merged
merged 5 commits into from
Aug 9, 2021
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ jobs:
- name: Install dependencies
run: bundle install
- name: Run test
run: rake && RUBYOPT=--enable-frozen_string_literal rake
run: bundle exec rake && RUBYOPT=--enable-frozen_string_literal bundle exec rake
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ jobs:
- name: Install dependencies
run: bundle install
- name: Run test
run: rake
run: bundle exec rake
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ jobs:
- name: Install dependencies
run: bundle install
- name: Run test
run: rake
run: bundle exec rake
13 changes: 7 additions & 6 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ source 'https://rubygems.org'
gemspec

group :development do
gem "rake"
gem "racc", "> 1.4.10"
gem "kpeg"
gem "test-unit"
gem "minitest" # for test_rdoc_rubygems_hook.rb
gem "rubocop"
gem 'rake'
gem 'racc', '> 1.4.10'
gem 'kpeg', github: 'evanphx/kpeg'
gem 'test-unit'
gem 'minitest' # for test_rdoc_rubygems_hook.rb
gem 'rubocop'
gem 'gettext'
end
6 changes: 6 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ task "#{path}.gem" => package_parser_files
desc "Generate all files used racc and kpeg"
task :generate => parsed_files

task :clean do
parsed_files.each do |path|
File.delete(path) if File.exist?(path)
end
end

begin
require 'rubocop/rake_task'
rescue LoadError
Expand Down
1 change: 0 additions & 1 deletion rdoc.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -246,5 +246,4 @@ RDoc includes the +rdoc+ and +ri+ tools for generating and displaying documentat
s.required_rubygems_version = Gem::Requirement.new(">= 2.2")

s.add_dependency 'psych', '>= 4.0.0'
s.add_development_dependency("gettext")
end