Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
uvlad7 committed Oct 10, 2023
1 parent 844322f commit ca4c1a3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,18 @@ require 'rb_sys/extensiontask'

task build: :compile

RbSys::ExtensionTask.new('xml2json') do |ext|
gemspec = Gem::Specification.load("xml2json.gemspec")

RbSys::ExtensionTask.new('xml2json', gemspec) do |ext|
ext.lib_dir = 'lib/xml2json'
end

require 'yard'

YARD::Rake::YardocTask.new do |t|
t.files = ['lib/**/*.rb']
t.files = gemspec.files
t.options += ['--output-dir', ENV['YARD_OUTPUT_DIR']] if ENV['YARD_OUTPUT_DIR']
p t.options
end

task default: %i[compile spec rubocop yard]

0 comments on commit ca4c1a3

Please sign in to comment.