GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — btc-menu-macos/Makefile at main · javascripto/btc-menu-macos

Expand file tree

/

Makefile

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
47 lines (35 loc) · 1.39 KB
/

Makefile

Copy path

File metadata and controls

47 lines (35 loc) · 1.39 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
.PHONY: help build stop open run debug-logs dmg zip release tag create_release_tag clean
APP_NAME := BTCMenu
APP_PATH := dist/$(APP_NAME).app
help:
@printf '%s\n' "Available targets:"
@printf '%s\n' " make build Build the .app bundle"
@printf '%s\n' " make stop Stop the running app if needed"
@printf '%s\n' " make open Open the built app"
@printf '%s\n' " make run Build and open the app"
@printf '%s\n' " make debug-logs Stream BTCMenu logs from macOS Console"
@printf '%s\n' " make dmg Build the .dmg package"
@printf '%s\n' " make zip Build the .app zip"
@printf '%s\n' " make release Build the app, .dmg and .zip"
@printf '%s\n' " make tag VERSION=1.2.3 Create and push v1.2.3"
@printf '%s\n' " make create_release_tag VERSION=1.2.3 Alias for make tag"
@printf '%s\n' " make clean Remove build artifacts"
build:
@./scripts/build_app.sh
stop:
@pkill -x "$(APP_NAME)" 2>/dev/null || true
open:
@open $(APP_PATH)
run: stop build open
debug-logs:
@log stream --predicate 'subsystem == "com.yuri.btcmenu"' --info --debug
dmg:
@./scripts/create_dmg.sh
zip:
@ditto -c -k --sequesterRsrc --keepParent $(APP_PATH) dist/$(APP_NAME).app.zip
release: build dmg zip
tag create_release_tag:
@test -n "$(VERSION)" || (printf '%s\n' "Usage: make $@ VERSION=1.2.3" && exit 1)
@./scripts/create_release_tag.sh $(VERSION)
clean:
@rm -rf .build dist
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.