Sha256: a5b4a470875f0f5166dbad99aaed6d462ac21fafc460a1e14edc675e43a3ee1d

Contents?: true

Size: 472 Bytes

Versions: 1

Compression:

Stored size: 472 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.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.2.0 ext/extconf.rb