diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
| @@ -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 @@ | |||
| 10 | ROOT := $(shell pwd) | 11 | ROOT := $(shell pwd) |
| 11 | NPROC := $(shell nproc 2>/dev/null || echo 2) | 12 | NPROC := $(shell nproc 2>/dev/null || echo 2) |
| 12 | SUDO := $(shell [ "$$(id -u)" = "0" ] && echo "" || echo "sudo") | 13 | SUDO := $(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. |
| 16 | VERSION := 1.2.18+sec | 17 | VERSION := 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 | ||
| 243 | windows-tor: windows | ||
| 244 | ./scripts/package-windows-tor.sh | ||
| 245 | |||
| 242 | # ---- Clean ---------------------------------------------------------------- | 246 | # ---- Clean ---------------------------------------------------------------- |
| 243 | 247 | ||
| 244 | clean: | 248 | clean: |
| @@ -265,6 +269,6 @@ sign-checksums: | |||
| 265 | verify-release: | 269 | verify-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 |