Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- task :compile do
- build_for = proc do |pik_ver, ver|
- sh %{
- pik #{pik_ver}
- ruby extconf.rb
- make clean
- make
- cp *.so #{direc}/lib/#{ver}
- }
- end
- chdir("#{direc}/ext/remix") do
- build_for.call("187", "1.8")
- build_for.call("default", "1.9")
- end
- end
Add Comment
Please, Sign In to add comment