Skip to content

akornatskyy/lux

Repository files navigation

lux

Build Status Go Report Card Go Doc

A package manager for shell scripts.

Install

go get github.com/akornatskyy/lux

or download a binary from available releases.

Usage

usage: lux [options...] [ns/]package[:bundle][ ...]
  -u    update package
  -v    verbose mode
packages @ https://raw.githubusercontent.com/akornatskyy/lux-pkg

Example:

lux lua:5.1

Packages

Feel free to contribute packages to central repository by submitting a pull request or create a repository named lux-pkg in your github.com account. In the later case your account name would serve as a namespace for package.

You can override the central repository URL by exporting LUX_URL environment varilable. Packages and downloads are stored under ~/.cache/lux/, use LUX_PKG environment variable to override.

Release

CGO_ENABLED=0 go build -ldflags "-w -s" && upx --ultra-brute lux