Skip to content

tillberg/autoinstall

Repository files navigation

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

About

Continuously go-installs all packages in GOPATH

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages