Skip to content

Commit 30eb7e4

Browse files
committed
make+release: move release script, fix make
Because the "make release" command collided with the release.sh script, make thought it needed to do something with that file. We fix that problem in two ways: We move the file into the scripts sub folder and also tell make that all our defined goals don't correspond to folders or files.
1 parent 81f44b7 commit 30eb7e4

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Makefile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ release: app-build go-release
163163

164164
go-release:
165165
@$(call print, "Creating release of lightning-terminal.")
166-
./release.sh build-release "$(VERSION_TAG)" "$(BUILD_SYSTEM)" "$(LND_RELEASE_TAGS)" "$(RELEASE_LDFLAGS)"
166+
./scripts/release.sh build-release "$(VERSION_TAG)" "$(BUILD_SYSTEM)" "$(LND_RELEASE_TAGS)" "$(RELEASE_LDFLAGS)"
167167

168168
docker-release: app-build
169169
@$(call print, "Building release helper docker image.")
@@ -279,3 +279,11 @@ clean: clean-itest
279279
$(RM) ./litcli-debug
280280
$(RM) ./litd-debug
281281
$(RM) coverage.txt
282+
283+
# Prevent make from interpreting any of the defined goals as folders or files to
284+
# include in the build process.
285+
.PHONY: default all yarn-install build install go-build go-build-noui \
286+
go-install go-install-noui go-install-cli app-build release go-release \
287+
docker-release docker-tools scratch check unit unit-cover unit-race \
288+
clean-itest build-itest itest-only itest flake-unit fmt lint mod mod-check \
289+
list rpc protos protos-check rpc-js-compile clean
File renamed without changes.

0 commit comments

Comments
 (0)