Sha256: 7d5058753035501b425a65d04d0158282f8af2bc5ac8e27f5c0f1dd90af3a49c
Contents?: true
Size: 304 Bytes
Versions: 1
Compression:
Stored size: 304 Bytes
Contents
require 'neutron' class Neutron::Valac def self.compile(*files, **opts) o = { prog: 'valac', debug: false, args: '' }.merge(opts) files.each do |file| Neutron.execute("#{o[:prog]} -c #{file} #{'-X g' if o[:debug]} #{o[:args]}", must_success: true) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
neutron-0.1.0 | lib/neutron/valac.rb |