derive

command module
v0.1.3-0...-04158a9 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: MIT Imports: 12 Imported by: 0

README

derive

Go Report Card

A small utility for building derivatives.

Install

go get github.com/256dpi/derive

Configuration

# run script when files change
- name: bar
  match:
    - "_foo"
  run:
    - cp -f _foo _bar

# run script or delegate to watch script
- name: baz
  run:
    - cp -f _foo _baz
  delegate:
    - watchman-wait . -p "_foo"; cp -f _foo _baz

# wildcard and exclusion rules
- name: exc
  match:
    - "_b*"
    - "!_bar"
  run:
    - echo '_baz updated'

Usage

Usage of derive:
  -config string
        The configuration file. (default "./derive.yml")
  -watch
        Watch and derive incrementally.

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