bin/jbundle in jbundle-0.0.3 vs bin/jbundle in jbundle-0.0.4
- old
+ new
@@ -1,9 +1,12 @@
require 'jbundle'
-JBUNDLE_FILE = 'JBundlefile'
+JBUNDLE_FILE = 'Jfile'
if ::File.exists?(JBUNDLE_FILE)
JBundle.run( ::File.read(JBUNDLE_FILE) )
+elsif ::File.exists?('JBundlefile')
+ puts "JBundlefile is deprecated. Please rename it to #{JBUNDLE_FILE}. Sorry! I'll run it this time anyway."
+ JBundle.run( ::File.read('JBundlefile') )
else
puts "You need to define ./#{JBUNDLE_FILE}"
end
\ No newline at end of file