Sha256: 54404c10965368c088b99af7de431009734587fa05a2cb7f5f9d7384babab68c

Contents?: true

Size: 393 Bytes

Versions: 4

Compression:

Stored size: 393 Bytes

Contents

#!/usr/bin/env ruby

# Generates the stubs for a new Babylon Application
# This will generate the right hierarchy for a Babylon App
# First, let's create the app directoryn based in ARGV[0]

if ARGV[0]
  puts "Creating app '#{ARGV[0]}' in #{Dir.pwd}..."
  FileUtils.cp_r "#{File.dirname(__FILE__)}/../templates/babylon", "#{Dir.pwd}/#{ARGV[0]}"
else
  puts "Syntax : $> babylon app_name "
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
julien51-babylon-0.0.3 bin/babylon
julien51-babylon-0.0.4 bin/babylon
julien51-babylon-0.0.5 bin/babylon
julien51-babylon-0.0.7 bin/babylon