Sha256: 082009a317fb474d85d1464448ff80d74108eb7be98b3251726341c9a2b4e162

Contents?: true

Size: 1.06 KB

Versions: 7

Compression:

Stored size: 1.06 KB

Contents

#!/usr/bin/env ruby

#  Generates the primary RestfulX project directory structure and 
#  sets up Flex Builder and TextMate specific descriptor files
#     
#  You can generate Flex Builder configuration for either *pure* Flex
#  project or an AIR project. To generate AIR configuration pass the -a
#  (--air) option to the generator.
# 
# Examples:
#     `rx-gen pomodo`    # generates project structure and a 
#                        # default Flex app configuration.
#     `rx-gen -a pomodo` # as above but generates an AIR app
#                        # and configuration
#                            
# Next Steps:
#     In your new RestfulX project folder run `ruby script/generate` for
#     a list of available generators.

require 'rubygems'
require 'rubigen'
require File.join(File.dirname(__FILE__), '..', 'lib', 'restfulx')

if %w(-v --version).include? ARGV.first
  puts "#{File.basename($0)} #{RestfulX::VERSION}"
  exit(0)
end

require 'rubigen/scripts/generate'
RubiGen::Base.use_application_sources!
RubiGen::Scripts::Generate.new.run(ARGV, :generator => 'rx_app')

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
dima-restfulx-1.2.0 bin/rx-gen
dima-restfulx-1.2.1 bin/rx-gen
dima-restfulx-1.2.2 bin/rx-gen
restfulx-1.3.1 bin/rx-gen
restfulx-1.3.0 bin/rx-gen
restfulx-1.2.0 bin/rx-gen
restfulx-1.2.1 bin/rx-gen