bin/opensource in opensource-0.3.4 vs bin/opensource in opensource-0.3.5
- old
+ new
@@ -1,15 +1,13 @@
#!/usr/bin/env ruby
# encoding: UTF-8
require 'optparse'
-require './lib/opensource'
+require_relative '../lib/opensource'
options = {}
-puts 'starting'
-puts "#{Dir.pwd}/templates"
-puts 'ending'
+puts Dir.pwd
LICENSES = Dir.new("#{Dir.pwd}/templates").map do |filename|
File.basename(filename, '.erb') if !['.', '..'].include?(filename)
end.compact
OptionParser.new do |opts|