Sha256: 81597c1bfc20d69c421c4e28051d5452299eef605dcfb98e5355264ba325fff3

Contents?: true

Size: 486 Bytes

Versions: 1

Compression:

Stored size: 486 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 spritekit-osx)
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.ln_s src, dst, :force => true
end


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

Version data entries

1 entries across 1 versions & 1 rubygems

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