Sha256: 0623500042aafb98407a8eda9cdd02c26d794431b0dc234d8c065acbc574eacc

Contents?: true

Size: 424 Bytes

Versions: 15

Compression:

Stored size: 424 Bytes

Contents

#!/usr/bin/env ruby

require 'jarbler'

# call config if arguments are passed and argument = 'config'
# otherwise call Jarbler.run
if ARGV.empty?
  Jarbler.run
else
  if  ARGV[0] == 'config' && ARGV.length == 1
    Jarbler.config
  else
    puts "Invalid argument! Valid arguments are:"
    puts "- no argument: build the jar"
    puts "- config: create a template config file at #{Jarbler::Config::CONFIG_FILE}"
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
jarbler-0.3.1 bin/jarble
jarbler-0.3.0 bin/jarble
jarbler-0.2.3 bin/jarble
jarbler-0.2.2 bin/jarble
jarbler-0.2.1 bin/jarble
jarbler-0.2.0 bin/jarble
jarbler-0.1.8 bin/jarble
jarbler-0.1.7 bin/jarble
jarbler-0.1.6 bin/jarble
jarbler-0.1.5 bin/jarble
jarbler-0.1.4 bin/jarble
jarbler-0.1.3 bin/jarble
jarbler-0.1.2 bin/jarble
jarbler-0.1.1 bin/jarble
jarbler-0.1.0 bin/jarble