Go to file
2019-05-14 08:07:29 +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 699676 from home:dmarcoux 2019-04-30 13:19:12 +00:00
bat.spec Accepting request 702779 from home:dmarcoux 2019-05-14 08:07:29 +00:00
README.packager Accepting request 699676 from home:dmarcoux 2019-04-30 13:19:12 +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 -cJf vendor.tar.xz vendor