justdoit

command module
v0.0.0-...-8aa1331 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2018 License: MIT Imports: 10 Imported by: 0

README

justdoit

Project status Build Status Go Report Card License

Why another auto-compile daemon

I couldn't find all of the very basic options I needed that worked correctly in a single package, most are over-stuffed with features... but streaming of logs from your app isn't supported for example. I needed something that just worked hence the name 'justdoit'

Installation

go get github.com/go-playground/justdoit

Usage

justdoit -h

Usage of justdoit:
  -build string
    	Command to Build/Compile program (default "go install -v")
  -exclude string
    	Regex of paths to exclude (default "(.git|vendor)$")
  -include string
    	Regex of files to include (default "(.+\\.go|.+\\.c)$")
  -run string
    	Command to run your application
  -watch string
    	Directory to watch for changes (recursive) (default "./")

Example

justdoit -watch="./" -include="(.+\\.go|.+\\.c)$" -build="go install -v" -run="$GOPATH/bin/myexecutable"

Licenses

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