diff options
| author | Jeff Carr <[email protected]> | 2024-12-01 00:50:20 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-01 00:50:20 -0600 |
| commit | e23b7189d84040bc6e71709c6f840baad1042660 (patch) | |
| tree | a3455308179a93f125c82ad9c8057adb72c39e56 | |
| parent | c5da2ba44cafe19afe145714c271ed0d99ad519c (diff) | |
| -rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,8 +1,13 @@ +VERSION = $(shell git describe --tags) + all: plugin ldd ../nocui.so plugin: - go build -v -x -buildmode=plugin -o ../nocui.so + GO111MODULE="off" go build -buildmode=plugin -o ../nocui.so + +install: + go build -buildmode=plugin -o ~/go/lib/nocui-${VERSION}.so check-git-clean: @git diff-index --quiet HEAD -- || (echo "Git repository is dirty, please commit your changes first"; exit 1) |
