cork-make

command
v0.0.0-...-3fd4274 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2021 License: MIT Imports: 9 Imported by: 0

README

cork-make

cork-make is a file event handler CLI akin to watchman-make. Some key differences:

  • cork-make has no special treatment for make targets.
  • cork-make allows the specification of multiple script targets (resolves watchman:#688).
  • cork-make doesn't block on script target completion.

Getting started

In this subdirectory, run:

$ go install

Usage

cork-make maps at least one pattern to each command.

$ cork-make -p [patterns...] -r [command]
$ # Basic example: one pattern group to one command.
$ cork-make -p README.md -r "cat README.md"
$ # Multiple pattern groups to different commands.
$ cork-make -p *.go -r "go build" \
            -p README.md -r "cat README.md"
$ # Multiple pattern groups to one command.
$ cork-make -p *.go *.md -r date

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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