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