#version #tool #download #install #projects #light-weight #platform

app tool-tool

🛠 A light-weight meta-tool to version and install tool dependencies for your software projects

1 unstable release

0.1.0 Jun 6, 2020

#62 in #light-weight

Apache-2.0

27KB
675 lines

🛠 tool-tool

tool-tool - a light-weight meta-tool to version and install tool dependencies for your software projects

WARNING: Work in progress - comments, contributions and feedback welcome

tool-tool is simple way to automatically manage a project's tool dependencies. You should never have to worry about:

  • Which version of the compiler do I need to use in this branch?
  • What JDK is necessary for this build?
  • Where do I get the correct version of node/yarn/maven/etc...?
  • Why do I get weird errors when compiling old branches with new tool versions?

How it works

  1. A configuration file (.tool-tool.v1.yaml) in the project repository root defines all the tool dependencies and where to download them.
  2. Small bootstrap binaries (tt, tt.exe) for all development platforms are also checked into your repository.
  3. All tool calls are then made through this bootstrap program. It parses the configuration file, downloads and caches the tools and executes the given command

A sample yarn invocation:

tt yarn install

Sample .tool-tool.v1.yaml

tools:
    - name: lsd
      version: 0.17.0
      download:
        linux: https://github.com/Peltoche/lsd/releases/download/0.17.0/lsd-0.17.0-x86_64-unknown-linux-gnu.tar.gz
        windows: https://github.com/Peltoche/lsd/releases/download/0.17.0/lsd-0.17.0-x86_64-pc-windows-msvc.zip

Dependencies

~6–18MB
~245K SLoC