Go to file
2019-10-01 21:24:40 +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.12.1.tar.gz Accepting request 732986 from home:dmarcoux 2019-09-24 15:36:12 +00:00
bat.changes Accepting request 734414 from home:luke_nukem:branches:utilities 2019-10-01 21:24:40 +00:00
bat.spec Accepting request 734414 from home:luke_nukem:branches:utilities 2019-10-01 21:24:40 +00:00
README.packager Accepting request 732986 from home:dmarcoux 2019-09-24 15:36:12 +00:00
vendor.tar.xz Accepting request 732986 from home:dmarcoux 2019-09-24 15:36:12 +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 ~/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