Sha256: 63e50e57590a804cdde9b83ae704cb72b3fbbb4e29ccad9dc687395f2cde55b7

Contents?: true

Size: 419 Bytes

Versions: 2

Compression:

Stored size: 419 Bytes

Contents

#!/usr/bin/env ruby
lib = File.expand_path('../../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)

require 'repoman'
require 'sinatra'

if ARGV.count == 1
  path = File.expand_path('.')
  begin
    if File.directory?('.git')
      Repoman::App.run!
    else
      puts "You need to run this from the root of your git repository"
    end
  rescue Exception => e
    puts e.message
    puts e.backtrace
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
repoman-0.5.2 bin/repoman
repoman-0.5.1 bin/repoman