Sha256: 98c4c40b3ce670512083bc4429622c3bd60a75593023953a59c5312eb6448301
Contents?: true
Size: 896 Bytes
Versions: 5
Compression:
Stored size: 896 Bytes
Contents
MRuby::Gem::Specification.new("mruby-cyberarm_engine") do |spec| spec.license = "MIT" spec.authors = "cyberarm" spec.summary = " Yet another framework for building games with Gosu" lib_rbfiles = [] # Dir.glob("#{File.expand_path("..", __FILE__)}/lib/**/*.rb").reject do |f| # File.basename(f.downcase, ".rb") == "cyberarm_engine" || # File.basename(f.downcase, ".rb") == "opengl" || # f.downcase.include?("/opengl/") # end.reverse! local_path = File.expand_path("..", __FILE__) File.read("#{local_path}/lib/cyberarm_engine.rb").each_line do |line| line = line.strip next unless line.start_with?("require_relative") file = line.split("require_relative").last.strip.gsub("\"", "") next if file.include?(" if ") lib_rbfiles << "#{local_path}/lib/#{file}.rb" end pp lib_rbfiles spec.rbfiles = lib_rbfiles end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
cyberarm_engine-0.24.4 | mrbgem.rake |
cyberarm_engine-0.24.3 | mrbgem.rake |
cyberarm_engine-0.24.2 | mrbgem.rake |
cyberarm_engine-0.24.1 | mrbgem.rake |
cyberarm_engine-0.24.0 | mrbgem.rake |