Sha256: d167f6d11fa7e64f5ff44ea7428c3f82dcc0e1b7eb96e7c0724d4c11494521e4

Contents?: true

Size: 880 Bytes

Versions: 11

Compression:

Stored size: 880 Bytes

Contents

#!/usr/bin/env ruby

require File.expand_path(File.join(File.dirname(__FILE__), %w[.. lib transender]))

$:.unshift File.join(File.dirname(__FILE__))

#arguments
transform = ARGV[0]
app_title = ARGV[1] 
out_dir = ARGV[2]

def usage
  puts "Transender #{Transender::VERSION} - the iPhoneSDK cloning/renaming gem"
  puts "Usage:\n"
  puts "~>transender git://github.com/somebodyatgithub/someiphoneipodproject.git myCoolProject /myCool/Path/To/Projects/Path/"
  puts "transform - a git repository \n"
  puts "app_title - a fresh app / cloned from transform, renamed and replaced\n"
  puts "out_dir - where to put fresh app's files\n"
end

unless transform&&app_title&&out_dir
  usage
  exit
end

require 'benchmark'

time = Benchmark.realtime {Transender::Ji.transend({:transform => transform, :app_title => app_title, :ji_path => out_dir})}
puts "Realtime used : #{time}sec"

# EOF

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
mihael-transender-0.2.6 bin/transender
mihael-transender-0.2.7 bin/transender
transender-0.2.15 bin/transender
transender-0.2.14 bin/transender
transender-0.2.13 bin/transender
transender-0.2.12 bin/transender
transender-0.2.11 bin/transender
transender-0.2.9 bin/transender
transender-0.2.8 bin/transender
transender-0.2.6 bin/transender
transender-0.2.7 bin/transender