autobuild

command module
v0.0.0-...-6c55736 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2014 License: MIT Imports: 4 Imported by: 0

README

Autobuild

Simple automatic build tool, which detects file changes by fsnotify.

Installation

$ go get github.com/k0kubun/autobuild

Usage

$ nohup autobuild "go build ~/something.go -o something" -f ~/something.go &

Then autobuild daemon executes go build ~/something.go whenever ~/something.go changes.

Example

This is example to automatically apply dotremap configuration.

if ! pgrep -f autobuild_dotremap > /dev/null; then
  echo "Launched dotremap autobuild daemon"
  nohup autobuild "dotremap" -f ~/.remap -i autobuild_dotremap > /dev/null &
fi

You can use -i option for just assigning identifier to process.

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