mirror of
https://github.com/knadh/listmonk.git
synced 2025-01-28 09:11:18 +08:00
Account for all *.go files in the repo in the Makefile build target
This commit is contained in:
parent
5e2c24b662
commit
3be5227c22
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -34,7 +34,7 @@ $(FRONTEND_YARN_MODULES): frontend/package.json frontend/yarn.lock
|
|||
touch --no-create $(FRONTEND_YARN_MODULES)
|
||||
|
||||
# Build the backend to ./listmonk.
|
||||
$(BIN): $(shell find cmd -type f -name "*.go")
|
||||
$(BIN): $(shell find . -type f -name "*.go")
|
||||
CGO_ENABLED=0 go build -o ${BIN} -ldflags="-s -w -X 'main.buildString=${BUILDSTR}' -X 'main.versionString=${VERSION}'" cmd/*.go
|
||||
|
||||
# Run the backend.
|
||||
|
|
Loading…
Reference in a new issue