Skip to content

tillberg/autoinstall

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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