Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.37 KB

File metadata and controls

38 lines (25 loc) · 1.37 KB

fup

Find files in parent directories

fup [optional-params] [patterns: string...]
   find paths in parent directories
Options:
  -h, --help                           print this cligen-erated help
  -e, --exact      bool    false       match name path exactly
  -F, --full       bool    false       match full path
  -f, --file       bool    false       only match files
  -d, --dir        bool    false       only match dirs
  -i, --incl       bool    false       include workdir
  -l=, --level=    int32   2147483647  limit directory traversal
  -n=, --num=      int32   2147483647  max results
  -w=, --workdir=  string  ""          set workdir

build

  1. Install Nim v2.0 using choosenim to ~/.choosenim

    curl https://nim-lang.org/choosenim/init.sh -sSf | sh

  2. install executable fup to ~/.nimble/bin

    nimble install

  3. Make sure $PATH contains ~/.nimble/bin

note

By default, Nim builds dynamically linked binaries using the glibc version present on the OS where those binaries are built.

Building fully static and cross-compiled musl binaries is possible using nim2-buildroot-toolchain, which provide a fully automated toolchain using docker and buildroot.