18 lines
312 B
Makefile
18 lines
312 B
Makefile
|
|
release: deps
|
|
CGO_ENABLED=1 go build -buildvcs=true .
|
|
|
|
dev:
|
|
go build .
|
|
./podterminal
|
|
|
|
deps:
|
|
go mod download
|
|
go mod tidy
|
|
|
|
install:
|
|
mv podterminal /usr/local/bin/podterminal
|
|
mkdir -p /etc/podterminal
|
|
useradd -r -s /bin/false podterminal
|
|
install -m 644 ./exampleconfig.yaml /etc/podterminal/config.yaml
|