Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add debug information to tilt help

  • Loading branch information...
commit 1dfc11ade603dd8768e0b1a44d2ba67936187465 1 parent e9ad928
@thinkerbot authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 bin/tilt
7 bin/tilt
@@ -24,7 +24,7 @@ describe the base dir for relative paths, and the output directory. The output
files are printed to stdout. With no <files> or when a <file> is '-', read
files from stdin.
-l, --list List template engines + file patterns and exit
-t, --type=<pattern> Use this template engine; required if no <file>
-y, --layout=<file> Use <file> as a layout template
@@ -58,6 +58,11 @@ Define variables:
Answer: 42
$ echo "Answer: <%= 2 + n.to_i %>" | tilt -t erb -Dn=40
Answer: 42
+To debug:
+ $ RUBYOPT=-d tilt ...
class TiltExe
Please sign in to comment.
Something went wrong with that request. Please try again.