Uh oh!
There was an error while loading. Please reload this page.
Bash Scanner - #119
Conversation
wikimatze
commented
Jan 23, 2014
When will this be merged? I'm using @kou rabbit plugin for presentations and it would be nice to use backticks for highlightning code. I think that I'm not the only person waiting for this. |
Conflicts: lib/coderay/helpers/file_type.rb
korny
commented
Jan 23, 2014
It cannot be merged because it's broken. It's not my code, it was a contribution. As always, we need test code examples. Currently, when I run the tests: |
wikimatze
commented
Jan 27, 2014
Hi @korny is there a way that we can pair on a remote session with vim and tmux to fix that problem? When I run the tests of the original repo on my machine with Cloning into 'test/scanners'...
remote: Reusing existing pack: 1037, done.
remote: Total 1037 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (1037/1037), 10.59 MiB | 888.00 KiB/s, done.
Resolving deltas: 100% (483/483), done.
Checking connectivity... done
/home/wikimatze/.rubies/ruby-2.1.0/bin/ruby test/scanners/suite.rb
Loaded suite CodeRay::Scanners
Started
>> Skipping tests for bash, no scanner found <<
.>> Testing C scanner <<
Random test - finished.
Loading examples in test/scanners/c/*.in.c...7 examples found.
elvis 370 B incremental, shuffled, complete, identity, highlighting, too small.
empty 0 B incremental, -skipped- complete, identity, highlighting, too small.
error 4 B incremental, -skipped- complete, identity, highlighting, too small.
error2 3 B incremental, -skipped- complete, identity, highlighting, too small.
open-string 1 B incremental, -skipped- complete, identity, highlighting, too small.
ruby 2.2 MiB incremental, shuffled, complete, identity, highlighting, in kTok/s: 761 scan + 473 encode = 292 both, 364 stream, in kB/s: 2779 / 1330.
strange 3.7 KiB incremental, shuffled, complete, identity, highlighting, in kTok/s: 559 scan + 252 encode = 174 both, 203 stream, in kB/s: 3049 / 1104.
Average speed for C scanner: 2779 kB/s scanning / 1330 kB/s highlighting to HTML page.
Finished in 8.48s.So you are trying to implement the bash scanner, right? Kindly regards Matthias |
Work in progress. Lacks tests. Solves #19, might be related to #115.