upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 4fdab39..9f97b73 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@
2# 2#
3# make linux build Bitflash-*-x86_64.AppImage 3# make linux build Bitflash-*-x86_64.AppImage
4# make windows build Bitflash-*-windows.zip (from MSYS2 UCRT64) 4# make windows build Bitflash-*-windows.zip (from MSYS2 UCRT64)
5# make windows-tor build Bitflash-*-windows-with-tor.zip
5# make tests build and run standalone unit tests 6# make tests build and run standalone unit tests
6# make checksums create SHA256SUMS for release assets 7# make checksums create SHA256SUMS for release assets
7# make verify-release TAG=v1.2.13 8# make verify-release TAG=v1.2.13
@@ -10,10 +11,10 @@
10ROOT := $(shell pwd) 11ROOT := $(shell pwd)
11NPROC := $(shell nproc 2>/dev/null || echo 2) 12NPROC := $(shell nproc 2>/dev/null || echo 2)
12SUDO := $(shell [ "$$(id -u)" = "0" ] && echo "" || echo "sudo") 13SUDO := $(shell [ "$$(id -u)" = "0" ] && echo "" || echo "sudo")
13# Not "1.2.18". This tree is upstream v1.2.18 plus 24 commits of our own and a 14# Not "1.2.19". This tree is upstream v1.2.19 plus our own hardening commits and
14# hand-merged payout ledger, so a binary built here must not be mistakable for 15# a hand-merged payout ledger, so a binary built here must not be mistakable for
15# the upstream release of that number -- it names every release artifact. 16# the upstream release of that number -- it names every release artifact.
16VERSION := 1.2.18+sec 17VERSION := 1.2.19+sec
17 18
18# ---- Pinned third-party sources ------------------------------------------- 19# ---- Pinned third-party sources -------------------------------------------
19# 20#
@@ -239,6 +240,9 @@ windows: deps-windows
239 @zip -r Bitflash-$(VERSION)-windows.zip Bitflash-$(VERSION)-windows/ 240 @zip -r Bitflash-$(VERSION)-windows.zip Bitflash-$(VERSION)-windows/
240 @echo "Built: Bitflash-$(VERSION)-windows.zip" 241 @echo "Built: Bitflash-$(VERSION)-windows.zip"
241 242
243windows-tor: windows
244 ./scripts/package-windows-tor.sh
245
242# ---- Clean ---------------------------------------------------------------- 246# ---- Clean ----------------------------------------------------------------
243 247
244clean: 248clean:
@@ -265,6 +269,6 @@ sign-checksums:
265verify-release: 269verify-release:
266 ./scripts/verify-release.sh $(if $(TAG),$(TAG),latest) 270 ./scripts/verify-release.sh $(if $(TAG),$(TAG),latest)
267 271
268.PHONY: linux windows clean appimage \ 272.PHONY: linux windows windows-tor clean appimage \
269 tests fuzz-net-message-smoke fuzz-script-smoke checksums sign-checksums verify-release \ 273 tests fuzz-net-message-smoke fuzz-script-smoke checksums sign-checksums verify-release \
270 deps-linux deps-windows deps-apt deps-secp256k1 deps-randomx 274 deps-linux deps-windows deps-apt deps-secp256k1 deps-randomx