From d3ccecb096821b2df3b492dd349e5c650929a591 Mon Sep 17 00:00:00 2001 From: pushmatrix Date: Fri, 30 May 2014 14:28:51 -0400 Subject: Don't start the dashing app when you run the bin file. --- bin/dashing | 3 ++- lib/dashing.rb | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/dashing b/bin/dashing index 97a7af5..cce9340 100755 --- a/bin/dashing +++ b/bin/dashing @@ -3,6 +3,7 @@ require "pathname" bin_file = Pathname.new(__FILE__).realpath $:.unshift File.expand_path("../../lib", bin_file) -require 'dashing' +require 'dashing/cli' +require 'dashing/downloader' Dashing::CLI.source_root(File.expand_path('../../templates', bin_file)) Dashing::CLI.start(ARGV) diff --git a/lib/dashing.rb b/lib/dashing.rb index 855aa36..3527034 100644 --- a/lib/dashing.rb +++ b/lib/dashing.rb @@ -3,4 +3,4 @@ require 'dashing/downloader' require 'dashing/app' module Dashing -end +end \ No newline at end of file -- cgit v1.2.3