Sha256: e5a709614191b4a22bcf09890f1d26e8b358a99f5934181ceebefe1f823fa0f8
Contents?: true
Size: 559 Bytes
Versions: 2
Compression:
Stored size: 559 Bytes
Contents
#! /usr/bin/env jruby require 'bundler/setup' Bundler.require require 'wingtips/presentation' require 'wingtips/configuration' if ARGV.empty? config_path = File.expand_path("./config.rb") else config_path = File.expand_path(ARGV[0]) config_path = File.join(config_path, "config.rb") if File.directory?(config_path) end if File.exists?(config_path) Dir.chdir(File.dirname(config_path)) config = Wingtips::Configuration.new(config_path) Wingtips::Presentation.start(config) else puts "Whoops, don't have a config file at #{config_path}" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
wingtips-0.2.0 | bin/wingtips |
wingtips-0.1.0 | bin/wingtips |