Skip to content

Commit

Permalink
Generate jar to build gem
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Nov 3, 2023
1 parent 13bdc92 commit 681feb0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ if jruby?
ext.classpath = jars.map { |x| File.expand_path x }.join( ':' )
ext.name = 'cparse-jruby'
end

task :build => "#{extask.lib_dir}/#{extask.name}.jar"
else
# MRI
require "rake/extensiontask"
Expand Down
10 changes: 5 additions & 5 deletions ext/racc/com/headius/racc/Cparse.java
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/*
Cparse.java -- Racc Runtime Core for JRuby
Copyright (c) 2016 Charles Oliver Nutter <[email protected]>
Ported from and distributed under the same licence as cparse.c
cparse.c -- Racc Runtime Core
Copyright (c) 1999-2006 Minero Aoki
This library is free software.
You can distribute/modify this program under the same terms of ruby.
*/
Expand Down

0 comments on commit 681feb0

Please sign in to comment.