Skip to content

Commit

Permalink
working version of the bin script along with the gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryan Duxbury committed Aug 17, 2012
1 parent 3bd17d0 commit 0e580e1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/jack
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/usr/bin/env ruby

require 'rubygems'
require 'bundler'
Bundler.require
require 'jack'
# require 'bundler'
# Bundler.require
require File.expand_path(File.dirname(__FILE__) + '/../src/rb/jack')

if ARGV.size == 2
Jack.run(ARGV)
Expand Down
17 changes: 17 additions & 0 deletions jack.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# -*- encoding: utf-8 -*-

Gem::Specification.new do |gem|
gem.authors = ["Bryan Duxbury"]
gem.email = ["[email protected]"]
gem.description = "A tool for generating Java database models from Ruby ActiveRecord definitions"
gem.summary = "A tool for generating Java database models from Ruby ActiveRecord definitions"
gem.homepage = "https://github.com/Rapleaf/jack"

gem.files = `git ls-files`.split($\)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.name = "jack"
gem.require_paths = ["lib"]
gem.version = "1.0.0"

gem.add_runtime_dependency "activesupport"
end

0 comments on commit 0e580e1

Please sign in to comment.