Go to file
Michael Vetter d63e9f5c4b Accepting request 674133 from home:dmarcoux
- Add README.packager for instructions on how to generate vendor.tar.xz
- Update to version 0.10.0
  * Features
    New option --highlight-line <N>
    New option -A/--show-all to show and highlight non-printable characters (in analogy to GNU cats option)
    New option --pager to configure the pager
    Support for a configuration file (https://github.com/sharkdp/bat#format)
    Support for custom config file path via --config-file option or BAT_CONFIG_PATH environment variable
    Support for custom syntax mappings via the -m/--max-syntax option
    Support pager command-line arguments in PAGER and BAT_PAGER
    The --terminal-width option can now also accept offsets
    Support for multiple --line-range arguments
    Encoding support for UTF-16LE and UTF-16BE
  * Changes
    Completely disabled the generation of shell completion files
    Report the name of missing files
    Don't start pager if file doesn't exist
    Rename bat cache --init to bat cache --build
    Move the --config-dir and --cache-dir options from bat cache to bat and hide them from the help text
    The default tab-width has been set to 4
  * New syntaxes supported
    Robot framework, Twig, .desktop files, AsciiDoc, Assembly, Jsonnet,
    Log files, Protobuf and ProtobufText, Terraform and Varlink

OBS-URL: https://build.opensuse.org/request/show/674133
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=5
2019-02-12 15:07:55 +00:00
.gitattributes Accepting request 639027 from home:dmarcoux 2018-09-28 15:16:54 +00:00
.gitignore Accepting request 639027 from home:dmarcoux 2018-09-28 15:16:54 +00:00
bat-0.10.0.tar.gz Accepting request 674133 from home:dmarcoux 2019-02-12 15:07:55 +00:00
bat.changes Accepting request 674133 from home:dmarcoux 2019-02-12 15:07:55 +00:00
bat.spec Accepting request 674133 from home:dmarcoux 2019-02-12 15:07:55 +00:00
README.packager Accepting request 674133 from home:dmarcoux 2019-02-12 15:07:55 +00:00
vendor.tar.xz Accepting request 674133 from home:dmarcoux 2019-02-12 15:07:55 +00:00

# Heavily based on https://build.opensuse.org/package/view_file/devel:languages:rust/racer/README.packager (Thank you for this!)
#
# Generating `vendor.tar.xz`

1. Install `cargo` and `cargo-vendor` from official repositories. `cargo` is provided by `rust`

    zypper install rust cargo-vendor

2. Checkout version

    git clone https://github.com/sharkdp/bat
    cd bat
    git checkout v0.10.0 (or another version from `git tag --list`)

3. Generate archive

    cargo vendor
    tar c vendor/ | xz > vendor.tar.xz