Commit Graph

1805 Commits (19b8c53c46922b9c6bbd620bb01fd688778c728d)
 

Author SHA1 Message Date
sharkdp 19b8c53c46 Enable clippy::style checks 4 years ago
sharkdp cd7be018fe Fix clippy suggestion: .or_else(|| Some(…)) => .or(Some(…)) 4 years ago
sharkdp 03a2710a08 Use new matches!(…) macro to simplify code 4 years ago
sharkdp 09fbabb0b8 Add a Default implementation for PrettyPrinter 4 years ago
mark chaitin de6cb75f4b Addressed PR feedback. Upped min version and used matches! macro 4 years ago
mark chaitin 83c9cb7907 fix bug where long lines were truncated in plain mode without wrap=never not being set 4 years ago
Martin Nordholts 7ffb04a17a CICD: Build: Make 'Upload build artifacts' more like deploy
The end goal is to upload the same artifacts for a PR as we deploy
during a release, to make a regular PR pipeline as similar as possible
to a deploy.

The first step is to move 'Upload build artifacts' to after 'Package' so
we can upload the same files. Also change the name and artifacts to be
more similar to what we deploy for a release.

For #1474
4 years ago
David Peter c38c186d26
Add Enselic as a maintainer 4 years ago
Martin Nordholts e22a9a69b1 CICD: Build: Stop building on Ubuntu 16.04
End-of-life is in three months, and we already do the same build on
Ubuntu 18.04.
4 years ago
Martin Nordholts 59f9adc706 CICD: Build: Add and use disable-deploy matrix var
This results in a nicer workflow file that is easier to follow.

Also remove the unneccesary doc row that repeats what is already in the
matrix and that is annoying to keep up to date.

For #1474
4 years ago
Csaba Henk fed30b1b36 Fix theme dir hint in --list-themes output 4 years ago
Martin Nordholts 411d68e839 CICD: Build: Remove unused JOB_DO_TESTING var and output
It is CARGO_TEST_OPTIONS that is used to control testing on
cross-compiled builds, so we can remove JOB_DO_TESTING.

For #1474
4 years ago
Martin Nordholts 77d42a17c6 CICD: Build: Remove unused PKG_suffix output var
Only the env var is used, so output variant is not needed.

For #1474
4 years ago
Martin Nordholts e7c55bffe9 CICD: Build: Remove unused TARGET_* vars and outputs
For #1474
4 years ago
Martin Nordholts b6b7262962 CICD: Build: Use matrix.job.use-cross directly
There is no need for a var and set-output detour.
4 years ago
Martin Nordholts 3ed83913b2 CICD: Build: Remove unused REF_* outputs
There is no usage of `steps.vars.outputs.REF_*` so no need to setup such
things. Also remove setting up REF_NAME and REF_BRANCH env vars, since
they are never read.
4 years ago
Martin Nordholts 63460f4bf9 CICD: Build: Remove conditional TOOLCHAIN logic
because we always use "stable". If we need to go back to using
matrix.job.toolchain, we should do it like in jobs.coverage, instead of
messing about with vars and outputs.
4 years ago
Martin Nordholts c67b439752 CICD: Build: Enable x86_64-pc-windows-gnu again
All the referenced issues [1] have been Closed, so use "stable" for
everything. Now `i686-w64-mingw32-gcc` fails with this instead

    error: linker `i686-w64-mingw32-gcc` not found

so keep it disabled. There is probably a simple solution for this that
is obvious to someone used to cross-compiling Rust programs on
Windows...

[1]
https://github.com/rust-lang/rust/issues/47048
https://github.com/rust-lang/rust/issues/53454
https://github.com/rust-lang/cargo/issues/6754
4 years ago
sharkdp 2b44940f81 Update CHANGELOG 4 years ago
sharkdp 26136be903 Add --diagnostics alias 4 years ago
sharkdp 6a52f69b58 Update to bugreport 0.3.0 4 years ago
sharkdp 60406c7c2d Exhaustive list of relevant environment variables 4 years ago
sharkdp 2465438ec3 Bump bugreport version 4 years ago
sharkdp 99a61580e1 Add --diagnostic run to CI 4 years ago
sharkdp dec94b4111 Add config file, compile time info and less version 4 years ago
sharkdp ebb97e94a9 Add --diagnostic option to bat 4 years ago
Martin Nordholts 5e1f9fadf4 CICD: Code Coverage: Explain why disabled 4 years ago
Martin Nordholts fe08de846d CICD: Code Coverage: Disable for now 4 years ago
sharkdp 35e3c51b75 Fix unused import warning 4 years ago
sharkdp 59c9105c25 Fix clippy warnings in tests on Windows 4 years ago
Ensar Sarajčić b458292a69
Target VimL upstream .sublime-syntax file (#1483)
* Target VimL upstream .sublime-syntax file

Upstream **VimL Syntax** has been updated
to include `.sublime-syntax` file instead of `.tmLanguage`,
therefore manually added `.sublime-syntax` is no longer needed

* Remove .bin changes
4 years ago
Martin Nordholts 78aed2cb69 CICD: Remove use-cross when host == target 4 years ago
Martin Nordholts 939a6a5f4d
CICD: Remove duplicate set-output calls (#1479)
The ::set-output syntax is the correct one according to
https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#setting-an-output-parameter,
so remove duplicates without that syntax.
4 years ago
Martin Nordholts caf0743811 CICD: Code Coverage: Use matrix.job.toolchain directly
No need for complicated var and set-output logic when we can simply use
matrix.job.toolchain directly.
4 years ago
Martin Nordholts 9ccb667653 Add integration test for unparsable pager
Right now all tests pass even if we e.g. return

    Ok(OutputType::stdout())

instead of doing

    .chain_err(|| "Could not parse pager command.")?

so add a test to make sure this functionality don't break.
4 years ago
Niklas Mohrin b600f62ab6 Add unix specific integration test about running bat without any arguments 4 years ago
Niklas Mohrin ace655e164 Add integration tests for clircle cycle detection 4 years ago
Niklas Mohrin 21ae26cb17 Add cycle detection with clircle, now v0.2 4 years ago
sharkdp 8381945cb5 Update formatting 4 years ago
David Peter 2046b47739 Move "diagnostics" part to the bottom of the bug report template 4 years ago
Janek 0c302f088a Update bug_report.md 4 years ago
Janek a41db63907 Update bug_report.md 4 years ago
Janek 3573c48e98 bug_report.md: improve wording 4 years ago
Janek e94980bfd0 bug_report.md: move environment prompt back up 4 years ago
Janek 5422982207 Update bug_report.md 4 years ago
David Peter 4fe5497d19
Merge pull request #1268 from eth-p/improved-benchmark
Add option to specify bat target in run-benchmarks.sh
4 years ago
Ethan P 1b549ecc66
Merge branch 'master' into improved-benchmark 4 years ago
sharkdp b5bdba8b16 Svelte syntax test: rename license file 4 years ago
sharkdp 522c97f5ad DotEnv syntax test: add missing newline 4 years ago
sharkdp 7fbb3a5352 Add Zig entry in ChangeLog, see #1470 4 years ago