Skip to content

Commit

Permalink
Merge pull request #255 from nobu/build-java
Browse files Browse the repository at this point in the history
Generate jar to build gem
  • Loading branch information
nobu committed Nov 4, 2023
2 parents 0ae7d8a + 681feb0 commit 7932b3f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions Rakefile
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
@@ -1,14 +1,14 @@
/*
Cparse.java -- Racc Runtime Core for JRuby
Copyright (c) 2016 Charles Oliver Nutter <headius@headius.com>
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 7932b3f

Please sign in to comment.