diff options
author | pushmatrix <daniel.beauchamp@gmail.com> | 2014-05-30 14:28:51 -0400 |
---|---|---|
committer | pushmatrix <daniel.beauchamp@gmail.com> | 2014-05-30 14:28:51 -0400 |
commit | d3ccecb096821b2df3b492dd349e5c650929a591 (patch) | |
tree | be217537e25758da23db80ccea82ce099bec930f | |
parent | c49b9bc5d47fe02d26836dee5034fe28490f0ebd (diff) |
Don't start the dashing app when you run the bin file.
-rwxr-xr-x | bin/dashing | 3 | ||||
-rw-r--r-- | 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 |