Skip to content

slaiyer/rip-up

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages