Sha256: 2aacaff7bc8fdee6602d00b3ef2e6ec190bb80324ce9d9b52f5c2aeaac5cf959

Contents?: true

Size: 637 Bytes

Versions: 1

Compression:

Stored size: 637 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 __dir__
  Opal.append_path File.join(__dir__, 'lib')
  config.pattern = 'spec/**/*_spec.rb'
  config.requires = ['spec/opal_helper']
end
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gamefic-sdk-3.2.0 scaffolds/project/Rakefile.gf.erb