Skip to content

Commit

Permalink
Merge pull request #2 from yui-knk/helper
Browse files Browse the repository at this point in the history
Add helper
  • Loading branch information
yui-knk authored Jan 11, 2024
2 parents bb4e693 + 8da3306 commit 56f7bc0
Show file tree
Hide file tree
Showing 6 changed files with 590 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
- run: bundle install
- run: bundle exec rake build:parser
- run: bundle exec rake compile
- run: nm --undefined-only --extern-only lib/ruby-parser.so
- run: nm --undefined-only --extern-only lib/ruby_parser.so
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,6 @@ namespace "setup" do
end
end

Rake::ExtensionTask.new("ruby-parser") do |ext|
Rake::ExtensionTask.new("ruby_parser") do |ext|
ext.ext_dir = "ext/ruby-parser/ruby"
end
6 changes: 6 additions & 0 deletions exe/irb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env ruby

$LOAD_PATH << File.join(__dir__, "../lib")
require "ruby_parser"

binding.irb
Loading

0 comments on commit 56f7bc0

Please sign in to comment.