Sha256: 7dbc42649a5055910a226aadcd7c4d9ea4cfabe19d7c445ea7d15ba5f20b195d

Contents?: true

Size: 251 Bytes

Versions: 1

Compression:

Stored size: 251 Bytes

Contents

require 'mkmf'
find_executable('go')

create_makefile("fibanachos")

File.open('Makefile', 'a') do |f|
  f.write("default:\n\tgo build -buildmode=c-shared -o ext/fibanachos.so ext/fibanachos.go\n")
  f.write("clean:\ninstall:\n\n.PHONY: default")
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
goffir-1.0.3pre ext/extconf.rb