bin/solara in solara-0.1.0 vs bin/solara in solara-0.2.0
- old
+ new
@@ -1,7 +1,10 @@
#!/usr/bin/env ruby
+# bin/solara
+require 'solara'
+
if RUBY_VERSION < '2.0.0'
abort("Solara requires Ruby 2.0.0 or higher")
end
Dir.glob("#{__dir__}/core/scripts/*.rb").each { |file| require file }
@@ -10,9 +13,8 @@
Dir.glob("#{__dir__}/core/doctor/*.rb").each { |file| require file }
Dir.glob("#{__dir__}/core/aliases/*.rb").each { |file| require file }
Dir.glob("#{__dir__}/core/dashboard/*.rb").each { |file| require file }
Dir.glob("#{__dir__}/core/brands/*.rb").each { |file| require file }
-require 'solara'
Solara::Setup.new.setup
Solara::CLI.start(ARGV)
\ No newline at end of file