forked from steipete/CodexBar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
53 lines (36 loc) · 1.2 KB
/
Copy pathMakefile
File metadata and controls
53 lines (36 loc) · 1.2 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
SHELL := /bin/bash
# Keep FILTER literal, including Make expressions, shell syntax, and apostrophes.
unexport FILTER
test_filter_arg = $(if $(value FILTER),--filter '$(subst ','"'"',$(value FILTER))')
.PHONY: build check docs-list format lint release restart start start-debug start-release stop test test-fast test-skip-build test-live test-tty
start:
./Scripts/compile_and_run.sh
start-debug:
./Scripts/compile_and_run.sh
start-release:
./Scripts/package_app.sh release
pkill -x CodexBar || pkill -f CodexBar.app || true
cd /Users/steipete/Projects/codexbar && open -n /Users/steipete/Projects/codexbar/CodexBar.app
restart: start
stop:
pkill -x CodexBar || pkill -f CodexBar.app || true
check lint:
./Scripts/lint.sh lint
format:
./Scripts/lint.sh format
docs-list:
node Scripts/docs-list.mjs
build:
swift build
test:
./Scripts/test.sh
test-fast:
./Scripts/test_fast.sh $(test_filter_arg)
test-skip-build:
./Scripts/test_fast.sh --skip-build $(test_filter_arg)
test-tty:
CODEXBAR_SUPPRESS_TEST_KEYCHAIN_ACCESS=1 swift test --filter TTYIntegrationTests
test-live:
LIVE_TEST=1 CODEXBAR_ALLOW_TEST_KEYCHAIN_ACCESS=1 swift test --filter LiveAccountTests
release:
./Scripts/package_app.sh release