Sha256: 5b0e71d34b61ccf748e65dff9e73fc1623af11e64978871a638e82aafaf14d9c

Contents?: true

Size: 577 Bytes

Versions: 3

Compression:

Stored size: 577 Bytes

Contents

require 'fileutils'

dest_templates_dir = File.expand_path('~/Library/RubyMotion/template/')
FileUtils.mkdir_p(dest_templates_dir) unless File.exist?(dest_templates_dir)

src_templates_dir = File.expand_path(File.join(File.dirname(__FILE__), '../templates'))
template_dirs = %w(mk-ios mk-osx)
template_dirs.each do |template|
  src = File.join(src_templates_dir, template)
  dest_dir = File.join(dest_templates_dir, template)

  FileUtils.ln_s src, dest_dir, :force => true
end


# have to create an empty Makefile or `gem install` complains
require 'mkmf'
create_makefile('')

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
motion-kit-templates-1.0.3 ext/extconf.rb
motion-kit-templates-1.0.2 ext/extconf.rb
motion-kit-templates-1.0.1 ext/extconf.rb