autoinstall

command module
v0.0.0-...-640e64e Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: ISC Imports: 21 Imported by: 0

README

autoinstall

Continuously go-installs all packages in GOPATH.

  • Uses filesystem-monitoring (via howeyc/fsnotify)
  • Parses package imports and recursively kicks off builds whenever dependencies are updated

Quick Start

You must already have Go installed and have GOPATH set in your environment. Then just run:

$ go get -u github.com/tillberg/autoinstall
$ $GOPATH/bin/autoinstall

Use --help to see additional options.

Animated Gif demonstrating autoinstall

Known issues
  • autoinstall expects to find a single package per directory.
  • My github.com/tillberg/watcher utility handles folder creation and deletion all right, but it doesn't currently always handle deleting and re-creating a directory (with the same name as before) correctly.
Automatically restart daemons

I use this in conjunction with autorestart's RestartOnChange, which watches the executable file for changes and restarts the process if it ever does.

License

ISC License

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL