slaiyer / rip-up

Updater for ripgrep and its dependencies

Home Page:https://gitlab.com/slaiyer/rip-up

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update script for Rust nightly and ripgrep

Check out the excellent ripgrep

Overview

  • Calls rustup
  • Pulls changes from ripgrep upstream
  • Builds ripgrep (if required) with SIMD and AVX extensions
  • Runs built-in tests
  • Strips built executable

Usage

$ rip-up -h
Update toolchain and build ripgrep from source

Usage:
	rip-up
		[-h]           Print this help message
		[-v 0|1|2|3]   Control output verbosity
		[-f]           Force ripgrep rebuild
		[-d git_dir]   Specify path to Git local directory
		[-u upstream]  Specify Git upstream, e.g. 'origin/master'
		[-p]           Do not strip executable post build step

Installation

  • Clone with git clone --recurse-submodules
  • Link top-level rip-up script into a directory in PATH

Dependencies

  • bash (version 4.4+)
  • bash_utils.sh
  • Rust nightly CLI
    • rustup
    • cargo
  • git
  • grep
  • sed
  • unbuffer
  • env
  • basename
  • md5sum
  • tee
  • chmod
  • column
  • strip

About

Updater for ripgrep and its dependencies

https://gitlab.com/slaiyer/rip-up

License:Do What The F*ck You Want To Public License


Languages

Language:Shell 100.0%