diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2016-11-28 23:28:48 -0700 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2016-11-28 23:28:48 -0700 |
| commit | 23555f585d6034cf2e491b83ead4ebab09fd2728 (patch) | |
| tree | f4792b3a1791a6f69581a72f156fb3c5d42bde01 | |
| parent | 9f5ae78505cd2bef8d3aef96ee7d0e5111a7af5e (diff) | |
don't fail build if .yardopts file is missing
| -rw-r--r-- | Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -118,7 +118,7 @@ begin ) # --no-highlight enabled to prevent verbatim blocks in AsciiDoc that begin with $ from being dropped # need to patch htmlify method to not attempt to syntax highlight blocks (or fix what's wrong) - yard.options = (IO.readlines '.yardopts').map {|l| l.chomp.delete('"').split ' ', 2 }.flatten + yard.options = (IO.readlines '.yardopts').map {|l| l.chomp.delete('"').split ' ', 2 }.flatten if ::File.file? '.yardopts' end rescue LoadError end |
