feat(tools/cheddar): drop
We don't use this anymore. Change-Id: Ief97047b28659a8f312217511c240d9d6b8744de
This commit is contained in:
parent
4a34be023a
commit
001556aa30
14 changed files with 7 additions and 3745 deletions
1319
third_party/bat_syntaxes/Prolog.sublime-syntax
vendored
1319
third_party/bat_syntaxes/Prolog.sublime-syntax
vendored
File diff suppressed because it is too large
Load diff
18
third_party/bat_syntaxes/default.nix
vendored
18
third_party/bat_syntaxes/default.nix
vendored
|
|
@ -1,18 +0,0 @@
|
|||
# For depot projects that make use of syntect (primarily
|
||||
# //tools/cheddar) the included syntax set is taken from bat.
|
||||
#
|
||||
# However, bat lacks some of the syntaxes we are interested in. This
|
||||
# package creates a new binary syntax set which bundles our additional
|
||||
# syntaxes on top of bat's existing ones.
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
inherit (pkgs) bat runCommand;
|
||||
in
|
||||
runCommand "bat-syntaxes.bin" { } ''
|
||||
export HOME=$PWD
|
||||
mkdir -p .config/bat/syntaxes
|
||||
cp ${./Prolog.sublime-syntax} .config/bat/syntaxes
|
||||
${bat}/bin/bat cache --build
|
||||
mv .cache/bat/syntaxes.bin $out
|
||||
''
|
||||
Loading…
Add table
Add a link
Reference in a new issue