Sha256: f12f8bf6416618598219d16a25e30f8f1fb70614abbaa01bf8df11748a50045b

Contents?: true

Size: 497 Bytes

Versions: 1

Compression:

Stored size: 497 Bytes

Contents

# Template Installer
require 'fileutils'

dir = File.expand_path("~/Library/RubyMotion/template/")
dir_src_templates = File.expand_path(File.join(File.dirname(__FILE__), "../template"))
templates = %w(spritekit-ios)
templates.each do |template|
  src = File.join(dir_src_templates, template)
  dst = File.join(dir, template)

  FileUtils.mkdir_p(dir) unless File.exist?(dir)
  FileUtils.rm_f dst if File.exist?(dst)
  FileUtils.ln_s src, dst
end


### dummy ###
require 'mkmf'
create_makefile('')

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
motion-template-spritekit-0.1 ext/extconf.rb