forked from rouge-ruby/rouge
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a global 'require' option for rougify CLI tool (rouge-ruby#1215)
This commit adds a global 'require' option for the rougify CLI tool. This is needed because, for custom extensions (like lexers) to be loaded, Rouge itself must be loaded first. So the usual method of `ruby -r <plugin> <binary>` won't work because `Rouge::Lexer` will not be available for subclassing.
- Loading branch information
Showing
2 changed files
with
21 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters