Sha256: f4ed9b1e06526362f5a0462fd86bd8c07f3095c6ad57cf5f9c80e46b34405638
Contents?: true
Size: 408 Bytes
Versions: 4
Compression:
Stored size: 408 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] require 'fileutils' 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 "Usage: #{$0} <app_name>" end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
julien51-babylon-0.0.10 | bin/babylon |
julien51-babylon-0.0.11 | bin/babylon |
julien51-babylon-0.0.8 | bin/babylon |
julien51-babylon-0.0.9 | bin/babylon |