bin/hydra-tutorial in hydra-tutorial-0.1.3 vs bin/hydra-tutorial in hydra-tutorial-0.2.0
- old
+ new
@@ -1,4 +1,6 @@
-#!/usr/bin/env ruby
+#! /usr/bin/env ruby
-exec File.expand_path(File.join(File.dirname(__FILE__), '..', 'open-repositories-tutorial.thor')), *ARGV
+# Invokes the tutorial's main() task.
+tutorial = File.join(File.dirname(__FILE__), '..', 'tutorial.thor')
+exec(tutorial, 'main', *ARGV)