pull/42/merge
Leonardo Guilherme de Freitas 4 years ago committed by GitHub
commit 18936ed68a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +1,5 @@
RELEASE_VERSION=$(shell git describe --tags)
PREFIX ?= /usr/local
test:
go test ./...
@ -6,7 +7,7 @@ test:
install:
go build -o bin/hostess .
sudo mv bin/hostess /usr/local/bin/hostess
install -C bin/hostess -t ${PREFIX}/bin
release: test
GOOS=windows GOARCH=amd64 go build -ldflags "-X main.Version=${RELEASE_VERSION}" -o bin/hostess_windows_amd64.exe .

@ -22,7 +22,12 @@ from GitHub, or build from source (with a [recent version of Go](https://golang.
git clone https://github.com/cbednarski/hostess
cd hostess
make install
sudo make install # installs using /usr/local as a prefix
You can also specify a PREFIX variable to install to a different path:
cd hostess
PREFIX=/home/me/.local make install
## Usage

Loading…
Cancel
Save