Sha256: 783bfa04f3c4349c68b546db13951ee8ea0e5cac7e9d463780b1478a48cd29eb
Contents?: true
Size: 636 Bytes
Versions: 4
Compression:
Stored size: 636 Bytes
Contents
# frozen_string_literal: true require 'bundler' require 'bundler/setup' require 'gamefic-sdk' require 'opal/rspec/rake_task' # Add the default Gamefic tasks for building and running games # Run `rake --tasks` for a list of commands and descriptions Gamefic::Sdk::Tasks.define_all <% if specs %> Opal::RSpec::RakeTask.new(:opal) do |_, config| Bundler.definition .dependencies_for([:default]) .each { |dep| Opal.use_gem dep.name } Opal.append_path File.join(__dir__, 'lib') config.default_path = 'spec' config.pattern = 'spec/**/*_spec.rb' config.requires = ['opal_helper'] end <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems