msgpack-jruby icon indicating copy to clipboard operation
msgpack-jruby copied to clipboard

build on multi platform, includes windows.

Open taichi opened this issue 11 years ago • 3 comments

please use File::PATH_SEPARATOR instead of : because windows path separator is ;. please use ant for making directories, because mkdir on windows is not support -p option.

taichi avatar Jul 14 '14 08:07 taichi

This will happen in msgpack/msgpack-ruby#33 since I'm switching the same build mechanism as msgpack-ruby.

If you want me to merge this into msgpack-jruby anyway, could you rewrite the compilation to use Ant too? There's a line that does system %(javac… and it feels like it would be better to use Ant for that too.

iconara avatar Jul 16 '14 06:07 iconara

ok, i try to rewrite build tasks more potable.

taichi avatar Jul 16 '14 09:07 taichi

this Rakefile cotains tasks below

rake build                  # Build msgpack-jruby-1.4.0.gem into the pkg directory.
rake clean                  # Remove any temporary products.
rake clobber                # Remove any generated file.
rake compile                # Compile all the extensions
rake compile:msgpack_jruby  # Compile msgpack_jruby
rake install                # Build and install msgpack-jruby-1.4.0.gem into system gems.
rake release                # Create tag v1.4.0 and build and push msgpack-jruby-1.4.0.gem to Rubygems
rake spec                   # Run RSpec code examples

taichi avatar Jul 18 '14 07:07 taichi