-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
94 lines (72 loc) · 2.5 KB
/
Makefile
File metadata and controls
94 lines (72 loc) · 2.5 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
.PHONY: help setup dev start lint test check typecheck clean clean-dev clean-all package package-mac make make-mac install uninstall reinstall open-data create-release deploy-release release
help:
@echo "Robin - Available commands:"
@echo ""
@echo "Development:"
@echo " make setup - Check local prerequisites"
@echo " make dev - Start Robin in development mode"
@echo " make lint - Run ESLint across src/ and test/"
@echo " make test - Run lint, typecheck, unit tests, and format checks"
@echo " make clean - Remove build artifacts"
@echo " make clean-dev - Remove app data and stop Robin"
@echo " make clean-all - Remove artifacts and local app data"
@echo " make install - Package Robin.app and install it to /Applications"
@echo " make uninstall - Remove Robin.app from /Applications"
@echo " make reinstall - Uninstall then install again"
@echo " make open-data - Open Robin's local user-data folder"
@echo ""
@echo "Packaging:"
@echo " make package - Create an unpackaged mac build in out/"
@echo " make make - Create distributable artifacts in out/make/"
@echo " make make-mac - Same as make, explicitly for macOS"
@echo ""
@echo "Releasing:"
@echo " make create-release VERSION=0.1.0 - Bump version, build, sign, notarize, tag locally"
@echo " make deploy-release VERSION=0.1.0 - Push tag and upload artifacts to GitHub Releases"
@echo " make release VERSION=0.1.0 - Prepare and publish in one go"
@echo ""
@echo "Docs:"
@echo " See RELEASING.md for signing and release env vars"
setup:
@./scripts/npmw run setup
dev:
@./scripts/npmw run dev
start:
@./scripts/npmw run start
lint:
@./scripts/npmw run lint
typecheck:
@./scripts/npmw run typecheck
check:
@./scripts/npmw run check
test:
@./scripts/npmw run test
clean:
@./scripts/npmw run clean
clean-dev:
@./scripts/npmw run clean:app
clean-all:
@./scripts/npmw run clean:all
package:
@./scripts/npmw run package:mac
package-mac:
@./scripts/npmw run package:mac
make:
@./scripts/npmw run make:mac
make-mac:
@./scripts/npmw run make:mac
install:
@./scripts/npmw run install:mac
uninstall:
@./scripts/npmw run uninstall:mac
reinstall:
@make uninstall
@make install
open-data:
@./scripts/npmw run open:user-data
create-release:
@VERSION=$(VERSION) ./scripts/npmw run release:prepare
deploy-release:
@VERSION=$(VERSION) ./scripts/npmw run release:publish
release:
@VERSION=$(VERSION) ./scripts/npmw run release