scott.eppler
dd95f8b5cb
Add example file for YAML highlighting
...
Relates to #1213
2020-10-05 22:03:27 +02:00
Niklas Sombert
975487f630
Add syntax highlighting test file for INI ( #1213 )
2020-10-05 21:09:24 +02:00
Akshat Gadhwal
c92ac809a5
added test.dart
2020-10-05 18:53:35 +02:00
DanielVip3
ec842e8d51
Added a JavaScript test file
2020-10-05 17:26:13 +02:00
henil
6d6e3900c3
add LICENSE
2020-10-05 17:25:37 +02:00
henil
0516a0d7a6
add .gitignore test
2020-10-05 17:25:37 +02:00
henil
adbbe158db
forgot to update highlighted file after changing
2020-10-05 14:24:16 +02:00
henil
6d2be4a305
License attribution not required
2020-10-05 14:24:16 +02:00
henil
78c9a5d45b
add julia test file
2020-10-05 14:24:16 +02:00
Mithil Poojary
5fa1645165
Add Java file test
2020-10-05 13:56:43 +02:00
sharkdp
bbf6ec0458
Try to fix syntax-detection tests on Windows
2020-10-05 09:07:57 +02:00
Mithil Poojary
e58b20f68d
Add C file test
2020-10-05 09:06:47 +02:00
Logan Saso
0ce697daba
#1241 Added newline to end of example.xml
2020-10-05 09:02:56 +02:00
Logan Saso
a2dfadc6c8
#1213 Added example xml file
2020-10-05 09:02:56 +02:00
Mithil Poojary
6df8b3fe72
Print error message if bat not found on path
2020-10-05 09:01:46 +02:00
Mithil Poojary
b623adc6df
Add Cpp file test
2020-10-05 09:01:34 +02:00
Matthias Reitinger
2f77da7813
Add /etc/passwd syntax test file
2020-10-05 07:22:54 +02:00
Jonatas
9897c99190
Haskell highligth test
2020-10-05 07:20:00 +02:00
Giorgi Beriashvili
aebc30447f
Add TeX syntax highlighting test files
2020-10-05 07:19:07 +02:00
Giorgi Beriashvili
d2bae54ed0
Add C-Sharp (C#) syntax highlighting test files
2020-10-05 07:15:09 +02:00
Logan Saso
501c369f39
#1213 Added example Markdown file
2020-10-05 07:14:09 +02:00
Filip Czaplicki
db3468a815
test: ARM Assembly syntax test file
2020-10-05 07:12:24 +02:00
Filip Czaplicki
3aabed44ce
test: Kotlin syntax test file
2020-10-05 07:11:52 +02:00
Ethan P
3af7a6b082
Merge pull request #1226 from mdevlamynck/fix-scripts
...
Shell script improvements
2020-10-04 13:49:50 -07:00
Daniil Baturin
2e985198c6
Add a protobuf syntax sample.
2020-10-04 21:32:09 +02:00
Celeo
74a2ef8138
test: add Jinja2 syntax test file
2020-10-04 21:31:19 +02:00
Daniil Baturin
88ea21b276
Add an SML syntax test file.
2020-10-04 21:25:05 +02:00
Michael
62397dbd0b
test: add newline to JSON syntax source file
2020-10-04 21:22:57 +02:00
Michael
317b086f66
test: add json highlight test
2020-10-04 21:22:57 +02:00
Matthias Devlamynck
12340c1d10
Add change dir to script dir to allow running from project root dir
2020-10-04 19:35:32 +02:00
parksb
e747199711
Generate highlighted file on latest version
2020-10-04 15:25:39 +02:00
parksb
df7ce883c7
Add texts indicating source to LICENSE.md
2020-10-04 15:25:39 +02:00
parksb
eb3e2dca24
Add basic typescript test file
2020-10-04 15:25:39 +02:00
Michael
2d9b936b0a
test: add asciidoc highlight test
2020-10-04 15:23:49 +02:00
Matthias Devlamynck
66c7aca2f6
Add elm syntax regression test
2020-10-04 15:19:54 +02:00
Nick Anthony Flueckiger
0c3344d0c4
Add a ruby source code syntax test with source and output
2020-10-04 15:15:34 +02:00
Quang Le
5d490664ca
fix: update original file in license
2020-10-04 13:26:05 +02:00
Quang Le
d170dd305d
Add scala code highlight test
2020-10-04 13:26:05 +02:00
Matthias Devlamynck
b50bd58795
Replace #!/bin/bash with #!/usr/bin/env bash to improve compatibility with systems where /bin/bash is not available
2020-10-04 11:51:07 +02:00
David Peter
1da279a290
Add link to original source
2020-10-04 11:25:11 +02:00
Quang Le
100b9a470b
test: add go highlight test
2020-10-04 11:25:11 +02:00
Daniil Baturin
43c2b36eaa
Make tests/syntax-tests/update.sh shell script executable.
2020-10-04 11:17:23 +02:00
Daniil Baturin
203d0bd8ae
Add an OCaml file for syntax tests.
2020-10-04 11:16:15 +02:00
Ethan P
96151c44aa
Add a batgrep as Bash script syntax tests
2020-10-04 11:00:57 +02:00
Ethan P
02dcb01120
Add a simple Bash script for syntax tests
2020-10-04 11:00:57 +02:00
Ethan P
51d25e5859
Fix syntax highlighting test update.sh to work on Mac OS
2020-10-04 11:00:57 +02:00
José Eduardo
29b6ba0758
Added Elixir file example
2020-10-03 22:33:44 +02:00
adgai19
ca5793dbea
Added Basic python test file
2020-10-03 22:32:59 +02:00
sharkdp
1ecb70e082
Update email syntax output
2020-10-01 22:58:30 +02:00
sharkdp
9eed16beb4
Add Email example code
2020-10-01 22:58:30 +02:00
sharkdp
5efc0033a1
Add updated, highlighted output
2020-09-30 19:50:19 +02:00
sharkdp
c9237cccab
Add AWK file for syntax tests
2020-09-30 19:50:19 +02:00
sharkdp
89b62d579f
Add update script
2020-09-20 21:43:18 +02:00
sharkdp
436a16aba6
Add syntax test for /etc/fstab
2020-09-20 21:43:18 +02:00
sharkdp
71b2089384
Code formatting
2020-09-20 20:47:21 +02:00
sharkdp
c3f85c8372
Add Less file for syntax tests
2020-09-07 22:25:14 +02:00
sharkdp
7f5d6d9791
Add SASS file for syntax tests
2020-09-07 22:25:14 +02:00
sharkdp
cbe68ba84c
Make sure that environment is properly set up
2020-08-03 15:59:53 +02:00
sharkdp
4b012de7db
Make test script executable
2020-08-03 15:59:53 +02:00
sharkdp
02a89d8ee8
Add comparison script
2020-08-03 15:59:53 +02:00
sharkdp
a70efae79b
Add proper CLI
2020-08-03 15:59:53 +02:00
sharkdp
78a681f027
Initial version of syntax regression tests
2020-08-03 15:59:53 +02:00
sharkdp
2ffbe08eb1
Add base16-256 theme to unit test
2020-08-03 11:39:49 +02:00
Dash Peters
6faf61552e
Fix integration test
2020-07-09 08:15:04 +02:00
Dash Peters
f53ea60ed4
Merge remote-tracking branch 'sharkdp/master'
2020-07-02 00:04:55 -07:00
David Peter
3a62e3d188
Merge pull request #1066 from gsomix/feature/1061-show-all-redirected
...
Enable non-printable characters for redirected output
2020-07-02 08:21:50 +02:00
Evgeniy Andreev (gsomix)
3c5ce9f86c
Enable non-printable chars for redirected output ( #1061 )
2020-07-02 09:36:58 +04:00
David Peter
2461d22212
Add new themes to unit test
...
Branch: add_gruvbox_theme
2020-07-02 07:17:57 +02:00
Dash Peters
bfac6fd85c
Add integration tests
2020-06-30 12:41:50 -07:00
Caio Alonso
fc121f0c87
Defaults *.fs to F#
2020-06-26 21:42:05 -03:00
Roy Ivy III
92e93682c6
Revert f8ed8aa7
(add test instrumentation to help understand failing tests) per PR feedback/owner request
...
- reverts commit f8ed8aa74b
2020-06-03 09:13:47 +02:00
Roy Ivy III
4840c7cd78
Tests ~ add predicate normalization for tests using echo
2020-06-03 09:13:47 +02:00
Roy Ivy III
71ab4a2058
Tests ~ revert to echo
(after fixed 'windows' pager process execution)
2020-06-03 09:13:47 +02:00
Roy Ivy III
0ef792ac1e
Tests ~ (fix) always check out test fixtures with known LF line endings
...
- fixes windows test failures
- avoids `git` platform-dependent conversion of line endings for checkout of test fixtures (*tests/examples/...*)
2020-06-03 09:13:47 +02:00
Roy Ivy III
01af28b781
Tests ~ add instrumentation to visualize text differences in failing tests
2020-06-03 09:13:47 +02:00
Roy Ivy III
3a7743ffc5
Tests ~ echo
has portability issues; for CI, replace with printf
...
- using `echo` on 'windows' platforms requires process execution indirectly via the shell
- `printf` is available on all GHA CI platforms
- `printf` is *not* available on usual 'windows' platforms; so this is just temporizing, awaiting a true fix
2020-06-03 09:13:47 +02:00
sharkdp
9cb43ef64d
Update tests
2020-05-27 10:09:57 +02:00
sharkdp
2ab6474761
Add unit test to make sure we are not missing any themes
2020-05-27 09:50:22 +02:00
sharkdp
d84ac09abd
Update .gitattributes
2020-05-26 12:14:27 +02:00
Ethan P
b8687bc969
Merge branch 'master' of github.com:sharkdp/bat into string-input
2020-05-15 13:22:24 -07:00
Ethan P
9166c9dd35
Remove unnecessary clone in integration tests
2020-05-15 12:29:01 -07:00
Ethan P
82981c9663
Add regression test for detected syntax differing for stdin and files
2020-05-13 02:53:19 -07:00
Prat T
b3373398e8
Remove padding if the header style is not enabled
2020-05-12 16:37:29 +02:00
Prat T
0040fef215
Add padding above headers when no grid
2020-05-12 16:37:29 +02:00
Lzu Tao
e37e9c1214
Fix some clippy lints
...
Some might actually improve perf
2020-04-24 16:11:05 +02:00
sharkdp
26c951fec4
Fix warnings, sort imports, input from string
2020-04-22 23:55:28 +02:00
sharkdp
5449472f15
Remove invalid UTF-8 file from repo, use temp file instead
2020-04-21 16:02:28 +02:00
sharkdp
82e20bfe14
Fix bug for file with invalid-utf8 filenames
2020-04-21 14:09:18 +02:00
sharkdp
03c2281828
Add do-not-panic! regression tests
2020-04-21 11:50:26 +02:00
sharkdp
edd27645d0
Add a way to directly search for a pattern
2020-04-12 19:19:33 +02:00
sharkdp
fc6f4f31dd
Add documentation
2020-04-12 19:19:33 +02:00
sharkdp
f2cef702a0
Add script to find slow-to-highlight files
2020-04-12 19:19:33 +02:00
David Tolnay
570805bc98
Strip dependencies of bat-as-a-library
2020-03-31 09:27:56 +02:00
Kyle Criddle
38178fedf4
Merge branch 'master' into fix_654_stdin_filename
2020-03-24 19:08:43 -06:00
Kyle Criddle
59f2e2d58d
Implemented --file-name for multiple files + tests
2020-03-24 18:26:00 -06:00
sharkdp
2c2861db6a
Further simplify module structure
2020-03-21 22:21:23 +01:00
sharkdp
8c500a7e40
Hide get_syntax, move tests to module
2020-03-21 22:21:23 +01:00
sharkdp
62f2d0c100
Do not export syntax_set and theme_set
2020-03-21 22:21:23 +01:00
sharkdp
06b7be7ee9
Major restructuring of theme/syntax handling
2020-03-21 19:19:15 +01:00
Kyle Criddle
cfa2cb6ec7
--file-name for normal files. integration tests.
2020-03-19 20:46:19 -06:00