Sha256: 5cb9ff827087118aefcd666882794b6f9e9e1bd853eb74cdbdcd3918059e5336

Contents?: true

Size: 471 Bytes

Versions: 2

Compression:

Stored size: 471 Bytes

Contents

#!/usr/bin/env ruby
require 'gravityframework'

libdir = File.join(File.dirname(File.dirname(__FILE__)), "lib")
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)

#Get command line args. New project created >> gravity-init NAME --options
args = ARGV.dup.unshift()

if args.length > 0
	installer = Gravityframework::Installer.new(args, libdir)
	installer.create()
else
	STDERR.puts "You must supply a project name >> gravity-new project_name"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gravityframework-0.0.4 bin/gravity-new.rb
gravityframework-0.0.3 bin/gravity-new.rb