Skip to content
/ jig Public

Tired of making sure that everyone has the correct tools installed on their machine

License

Notifications You must be signed in to change notification settings

zpratt/jig

Repository files navigation

jig

Go DeepSource

Tired of making sure that everyone has the correct tools installed on their machine regardless of OS? jig will read the jig.yaml file and check your $PATH environment variable for installed tools.

How To Use

Note: Currently, there are no releases, so you have to build this from scratch.

  1. clone the repo
  2. make sure you have at least go 1.14 installed
  3. make build
  4. ./jig

You can update the jig.yaml file to include a list of tools that you expect to be installed.

Roadmap

  • - check the $PATH for installed tools. Print a list of required programs that are not installed.
  • - for programs that are not installed, attempt to install them using a package manager (ex: apt, brew, choco, scoop).
  • - better document the schema of the jig file.
  • - support transforming brew list -1 to a jig file (--import switch?)
  • - allow for project specific jig files instead of looking for one in the current directory
  • - check for required configuration files (which could be expressed in the jig.yaml file)
  • - add a dry run option
  • - check the version of tools and see if an update is available.
  • - allow for OS equivalent packages to be expressed in the jig file
    • ex: pbcopy come pre-installed on a mac. on windows, they require a separate package. chocolately has a pasteboard package for this.

Contributing

Not sure yet. I need to add tests and a roadmap of some kind. Feel free to submit issues if you have ideas.