Sha256: 6d8ebd930051138fb0252b86d834cab6a748281676f3e21fc8717931c1df1bba

Contents?: true

Size: 709 Bytes

Versions: 1

Compression:

Stored size: 709 Bytes

Contents

# Copied and minimized from https://github.com/rubymotion/Joybox
# View JoyBox at: http://joybox.io
require 'fileutils'

source_directory  = File.expand_path('../../lib/motion/gem', __FILE__)
source_file       = File.join(source_directory, 'gem_command.rb')
motion_directory  = File.expand_path('~/Library/RubyMotion')
command_directory = File.join(motion_directory, 'command')
destination_file  = File.join(command_directory, File.basename(source_file))

FileUtils.rm_f File.join(command_directory, 'gem_command.rb')
FileUtils.mkdir_p(command_directory) unless File.directory?(command_directory)
FileUtils.rm_f destination_file
FileUtils.ln_s source_file, destination_file

require 'mkmf'
create_makefile ''

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
motion-gem-0.1.0 ext/extconf.rb