Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

k0kubun/autobuild

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

Simple automatic build tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages