Skip to content

Commit

Permalink
Merge pull request ruby#827 from aycabta/use-HEAD-of-kpeg
Browse files Browse the repository at this point in the history
Use HEAD of kpeg
  • Loading branch information
aycabta committed Aug 9, 2021
2 parents 0a3a674 + 2bb0860 commit 89a59f2
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 10 deletions.
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

0 comments on commit 89a59f2

Please sign in to comment.