Skip to content

Commit

Permalink
Merge pull request #65 from jwillemsen/jwi-regeninstructions
Browse files Browse the repository at this point in the history
Add instructions how to regenerate parser.rb
  • Loading branch information
jwillemsen authored Oct 21, 2021
2 parents 5d2976d + 6ca19a3 commit 56529df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,7 @@ The RIDL Gem is a Ruby-only Gem without any dependencies.
== Releasing new RIDL Ruby Gem

A new RIDL ruby gem release can be made by incrementing the RIDL version in link:lib/ridl/version.rb and create a new release on {github}[https://github.com/RemedyIT/ridl/releases] matching the new version (for example v2.7.0). The github {Ruby Gem Release}[https://github.com/RemedyIT/ridl/actions?query=workflow%3A%22Ruby+Gem+Release%22] action will automatically create a new gem and push it to {Rubygems.org}[https://www.rubygems.org/gems/ridl].

== Regenerating `lib/racc/parser.rb`

The file `lib/racc/parser.rb` can be regenerated using `racc -o parser.rb -E parser.ry`. The option `-E` embeds the racc parser within RIDL which is required for RIDL because jruby doesn't contain `RACC` as cruby does.

0 comments on commit 56529df

Please sign in to comment.