forked from rohanpandula/ScanStudio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (20 loc) · 771 Bytes
/
Copy pathMakefile
File metadata and controls
29 lines (20 loc) · 771 Bytes
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
.PHONY: app-test bridge-sync bridge-sync-scanner bridge-test coolscanpy-test test package dmg
UV ?= uv
app-test:
$(MAKE) -C app/ScanStudio test
bridge-sync:
cd bridge && $(UV) sync --locked
bridge-test: bridge-sync
cd bridge && $(UV) run pytest
coolscanpy-test:
cd coolscanpy && $(UV) run pytest
test: app-test bridge-test coolscanpy-test
# The packaged bridge retains python-sane for optional plain scan and software
# eject, so packaging needs CoolscanPy's scanner extra even though color-roll
# capture and the bridge test suite do not. See bridge/pyproject.toml.
bridge-sync-scanner:
cd bridge && $(UV) sync --locked --extra scanner
package: bridge-sync-scanner
$(MAKE) -C app/ScanStudio package
dmg: bridge-sync-scanner
$(MAKE) -C app/ScanStudio dmg