Sha256: 935dfcd629b9fd6e107001b4d1b46cec89857e3b169902a809efd4173d4be0cb

Contents?: true

Size: 1.07 KB

Versions: 8

Compression:

Stored size: 1.07 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::FRAMEWORK_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

8 entries across 8 versions & 4 rubygems

Version Path
captproton-restfulx-1.2.3 bin/rx-gen
dima-restfulx-1.2.3 bin/rx-gen
dima-restfulx-1.2.4 bin/rx-gen
rlmattax-restfulx-1.2.4.1 bin/rx-gen
restfulx-1.2.5 bin/rx-gen
restfulx-1.2.3 bin/rx-gen
restfulx-1.2.4 bin/rx-gen
restfulx-1.2.2 bin/rx-gen