roc/examples/ruby-interop/extconf.rb
shua d90da3af52
rm TotallyNotJson
TotallyNotJson.roc now lives on the farm in virtual-dom-wip as Json.roc.
Any reference in stdlib or builtins has been removed, as well as the
last places it was used (in python/ruby-interop examples).
2024-07-01 20:37:23 +02:00

10 lines
251 B
Ruby

#!/usr/bin/env ruby
require 'mkmf'
# preparation for compilation goes here
# HACK: pass 'demo.c' as a header because otherwise ruby complains that roc_*alloc are not defined
have_library('hello', nil, 'demo.c')
create_header
create_makefile 'demo'