Sha256: 742226723b08e810c70508275991c97a3611825870c0d2e8adbcf4a8caeacdfd
Contents?: true
Size: 581 Bytes
Versions: 2
Compression:
Stored size: 581 Bytes
Contents
#!/usr/bin/env ruby # GENERATE SPROUTCORE COMPONENTS # Generates components for you in a sproutcore app. # Usages # sc-gen generator [path] [class] # APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..')) SC_ROOT = APP_ROOT $:.unshift File.join(SC_ROOT,'lib') ; # Require SproutCore require 'rubygems' require 'rubigen' require 'rubigen/scripts/generate' require 'sproutcore' ARGV.shift if ['--help', '-h'].include?(ARGV[0]) RubiGen::Base.use_component_sources! [:sproutcore] RubiGen::Scripts::Generate.new.run(ARGV, :destination => File.expand_path(Dir.pwd))
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sproutcore-0.9.0 | bin/sc-gen |
sproutcore-0.9.1 | bin/sc-gen |