bat/README.packager
Dany Marcoux 8112623fe7 Accepting request 732986 from home:dmarcoux
- Update to version 0.12.1
  * Features
    Binary file content can now be viewed with bat -A
    bat can now be used as a man pager
    Add new style component to separate multiple '--line-range'
    Added '-L' as an alias for '--list-languages'
  * Bugfixes
    Output looks unbalanced when using '--style=grid,numbers' without 'header'
    Issues with filenames starting with "cache"
    '--terminal-width -10' is parsed incorrectly
  * New syntaxes
    Emacs Org mode
    requirements.txt
    DotENV '.env'
    SSH config
    And more... see upstream
- Set directory for 'git clone' in README.packager
- Add 'clang' to build dependencies

OBS-URL: https://build.opensuse.org/request/show/732986
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=12
2019-09-24 15:36:12 +00:00

19 lines
530 B
Plaintext

# 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 ~/tmp/bat
cd ~/tmp/bat
git checkout v0.10.0 (or another version from `git tag --list`)
3. Generate archive
cargo vendor
tar -cJf vendor.tar.xz vendor