foreplay

command module
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

README

Foreplay

CI codecov Go Report Card GitHub Snap Status

A pre-commit hook manager.

How is this different from pre-commit?

It makes not attempt to install pre-commit hooks for you and as a result is a lot simpler. We assume the commands you want to run ahead of each commit have already been setup.

Two output methods

For when looks are more important than personality.

spinners: true

GitHub

Github Actions inspired configuration syntax.

hooks:
  - name: eslint
    run: |
      cd frontend
      npm lint

  - id: golangci-lint
    run: golangci-lint run

Installation

macOS
brew tap eberkund/foreplay
brew install foreplay
Linux
snap install foreplay

Or download install the .deb from the releases page.

Windows
scoop bucket add app https://github.com/eberkund/scoop-foreplay.git
scoop install foreplay
Go
go install github.com/eberkund/foreplay

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL