move lspd and lspd_cln_plugin into cmd folder

This commit is contained in:
Jesse de Wit
2024-02-08 15:28:39 +01:00
parent 99f6a7ec32
commit 4611843804
6 changed files with 7 additions and 7 deletions

6
.gitignore vendored
View File

@@ -1,4 +1,4 @@
.vscode
lspd
lspd_plugin
lspd_cln_plugin
/lspd
/lspd_plugin
/lspd_cln_plugin

View File

@@ -4,12 +4,12 @@ TAG := $(shell git describe --tags --dirty)
release-all: release-lspd release-plugin
release-lspd:
go get $(PKG)
go build -v -trimpath -o lspd -ldflags "-s -w -X $(PKG)/build.tag=$(TAG)" $(PKG)
go get $(PKG)/cmd/lspd
go build -v -trimpath -o lspd -ldflags "-s -w -X $(PKG)/build.tag=$(TAG)" $(PKG)/cmd/lspd
release-plugin:
go get $(PKG)/cln_plugin/cmd
go build -v -trimpath -o lspd_cln_plugin -ldflags="-s -w -X $(PKG)/build.tag=$(TAG)" $(PKG)/cln_plugin/cmd
go get $(PKG)/cmd/lspd_cln_plugin
go build -v -trimpath -o lspd_cln_plugin -ldflags="-s -w -X $(PKG)/build.tag=$(TAG)" $(PKG)/cmd/lspd_cln_plugin
clean:
rm -f lspd