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

Ensure parser is up-to-date before build #31

Merged
merged 2 commits into from
Nov 22, 2023
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 .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ AllCops:
AllowSymlinksInCacheRootDirectory: true
NewCops: enable
Exclude:
- lib/melt/*.tab.rb
- lib/puffy/*.tab.rb
- tmp/**/*.rb
- vendor/bundle/**/*

Expand Down
13 changes: 13 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,16 @@ source 'https://rubygems.org'

# Specify your gem's dependencies in puffy.gemspec
gemspec

gem 'aruba'
gem 'bundler'
gem 'cucumber'
gem 'github_changelog_generator'
gem 'racc'
gem 'rake'
gem 'rspec'
gem 'rubocop'
gem 'rubocop-rake'
gem 'rubocop-rspec'
gem 'simplecov'
gem 'timecop'
2 changes: 2 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ task test: %i[spec features]

task default: :test

task build: :gen_parser

desc 'Generate the puffy language parser'
task gen_parser: 'lib/puffy/parser.tab.rb'

Expand Down
13 changes: 0 additions & 13 deletions puffy.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,4 @@ Gem::Specification.new do |spec|

spec.add_runtime_dependency 'cri'
spec.add_runtime_dependency 'deep_merge'

spec.add_development_dependency 'aruba'
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'cucumber'
spec.add_development_dependency 'github_changelog_generator'
spec.add_development_dependency 'racc'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'rubocop'
spec.add_development_dependency 'rubocop-rake'
spec.add_development_dependency 'rubocop-rspec'
spec.add_development_dependency 'simplecov'
spec.add_development_dependency 'timecop'
end
Loading