Sha256: 5d8c126074c97224f2233978a892ad7687a03fd8e53f628a50b165c9c4912b8c
Contents?: true
Size: 478 Bytes
Versions: 1
Compression:
Stored size: 478 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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
motion-kit-templates-1.0.0 | ext/extconf.rb |