jitome

command module
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2015 License: MIT Imports: 15 Imported by: 0

README

Jitome

logo.png

Jitome is a watcher for file changing

jitome.gif

Installation

$ go get github.com/kohkimakimoto/jijtome

Usage

Run jitome init to create .jitome.yml file and you should edit it.

The following is an example of configuration.

# .jitome.yml
build:
    watch:   "*.go"
    command: "go build"

test:
    watch:   "*.go"
    command: "your test command"

You can also use TOML format to write configuration.

# .jitome.toml
[build]
watch=["*.go"]
command="go build"

[test]
watch=["*.go"]
command="your test command"

Run jitome

$ jitome

To use FILE environment variable, you can get a file path that is detected changing

display_modified_file:
    watch: "*"
    command: "cat $FILE"

Author

Kohki Makimoto kohki.makimoto@gmail.com

License

The MIT License (MIT)

Inspired by

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